Function at 0x4b5c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4b681e
sub esp, 0x98
mov eax, dword [0x789644]
mov ecx, dword [str._n_____BEGIN]
mov edx, dword [0x789648]
cmp eax, 1
jb 0x4b6817
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp + 8], esi
dec edx
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov dword [esp + 0xc], ecx
dec eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call fcn.0049e190
movzx eax, byte [esp + 0x18]
test al, al
je 0x4b6709
mov eax, dword [0x789644]
dec eax
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
ja 0x4b6810
sub ecx, eax
mov ebx, dword [esp + 0xa4]
sub ebx, eax
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov eax, dword [esp + 0x9c]
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.004b5ab0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x68], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov edi, dword [0x789638]
mov esi, dword [0x789630]
mov eax, dword [0x789634]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call fcn.0049e200
movzx eax, byte [esp + 0x18]
test al, al
je 0x4b6696
mov eax, dword [0x789634]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
ja 0x4b6802
mov dword [esp + 0x28], ecx
call fcn.00405cb0
mov eax, dword [esp]
mov dword [esp + 0x90], eax
lea ecx, [0x5da9e0]
mov dword [esp], ecx
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [0x79e7b0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4b667e
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.004380d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov dword [edx + 4], eax
mov eax, dword [0x79e7b0]
test eax, eax
jne 0x4b6666
mov dword [edx], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x60]
jmp 0x4b5e81
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x4b662a
mov dword [esp + 0x64], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004b5ab0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x70], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0x3a
call fcn.00448380
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x4b6044
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x4b67fb
lea edx, [eax + 1]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
ja 0x4b67fb
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0049e8c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x74]
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x74], esi
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0049e8c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004380d0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x88], ebx
mov dword [esp], 0
mov ebp, dword [esp + 0x74]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xc], ebp
call fcn.004380d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x5ceaa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.00408f90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov ecx, dword [0x79e7b0]
test ecx, ecx
jne 0x4b602c
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
jmp 0x4b5e6e
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x4b5e6e
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b6623
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4b65d5
mov ecx, dword [str._n_____END]
mov edx, dword [0x789624]
mov ebx, dword [0x789628]
cmp edx, 1
jb 0x4b67f4
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 8], esi
dec ebx
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
add ecx, ebx
mov dword [esp + 0xc], ecx
lea ecx, [edx - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
call fcn.0049e190
movzx eax, byte [esp + 0x18]
test al, al
je 0x4b65d5
mov eax, dword [0x789624]
dec eax
xor ecx, ecx
test ecx, ecx
jl 0x4b6562
mov edx, dword [esp + 0x60]
cmp eax, edx
ja 0x4b67ed
mov dword [esp + 0x50], ecx
mov ebx, edx
sub edx, eax
mov ebp, dword [esp + 0x64]
sub ebp, eax
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x88]
add eax, ebp
mov ecx, dword [0x789634]
mov esi, dword [esp + 0x28]
add ecx, esi
cmp edx, ecx
jl 0x4b64fa
cmp ecx, edx
ja 0x4b67e6
mov dword [esp + 0x4c], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
call fcn.0049e190
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub eax, ecx
mov edx, dword [esp + 0x5c]
mov ebx, edx
sub edx, ecx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0x78]
add edx, esi
movzx edi, byte [esp + 0x18]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4b61f3
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov dword [esp + 0x30], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], edx
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov eax, dword [0x789630]
mov ecx, dword [0x789634]
mov edx, dword [0x789638]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0049e200
movzx eax, byte [esp + 0x18]
test al, al
je 0x4b6180
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.004b5ab0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b6487
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x4b67df
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004b5bd0
mov eax, dword [0x78cf98]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x58], ebx
mov eax, dword [eax + 0x140]
cmp eax, 0xffffffff
jne 0x4b647c
lea eax, [edx + edx*2]
mov ebp, eax
shl eax, 1
sar eax, 0x1f
shr eax, 0x1d
lea eax, [eax + ebp*2]
sar eax, 3
lea ecx, [0x5cdaa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00434f20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x8c]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ecx, dword [0x79e7b0]
lea edx, [ebx + 0xc]
test ecx, ecx
jne 0x4b6456
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [0x78cf98]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
call fcn.004b3e00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4b63e3
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x14]
cmp eax, edx
ja 0x4b67d8
mov dword [ecx + 0x10], eax
mov eax, dword [0x789624]
mov edx, dword [esp + 0x50]
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x60]
cmp eax, edx
ja 0x4b67d1
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x88]
add ecx, ebp
mov dword [esp], ecx
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004b5ab0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov dword [esp + 0x80], eax
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x8c]
jmp 0x4b630c
shr edx, 2
lea eax, [edx + edx*2]
jmp 0x4b62c9
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov ebx, dword [str._n_____END]
mov ebp, dword [0x789624]
mov esi, dword [0x789628]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.0049f190
mov ecx, dword [esp + 0x18]
mov eax, dword [0x789624]
add eax, ecx
jmp 0x4b60cc
xor ecx, ecx
jmp 0x4b6058
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
add esp, 0x98
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov edx, dword [esp + 0x8c]
jmp 0x4b5e5d
mov dword [esp], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x4b5e17
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
call fcn.004b6830
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebx
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
mov ebx, dword [0x789648]
mov ebp, dword [0x789644]
mov esi, dword [str._n_____BEGIN]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.0049f190
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4b6795
mov ecx, dword [0x789644]
add eax, ecx
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
ja 0x4b6809
sub ecx, eax
mov esi, dword [esp + 0xa4]
sub esi, eax
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
mov ebp, dword [esp + 0x9c]
add eax, ebp
mov esi, edi
mov ebx, eax
jmp 0x4b5d3a
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
add esp, 0x98
ret
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.00446b60
jmp fcn.004b5c80