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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x511ce3
sub esp, 0x94
mov eax, dword [0x7c4b80]
mov ecx, dword [str._n_____BEGIN]
mov edx, dword [0x7c4b7c]
cmp edx, 1
jb 0x511cdc
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebp, dword [esp + 0x9c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xa0]
mov dword [esp + 8], esi
dec eax
mov edi, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp + 0xc], eax
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call fcn.004cb070
movzx eax, byte [esp + 0x18]
test al, al
je 0x511bcf
mov eax, dword [0x7c4b7c]
dec eax
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
ja 0x511cd5
mov edx, dword [esp + 0xa0]
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
mov esi, dword [esp + 0x98]
add edx, esi
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00510fb0
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 + 0x90], 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 [0x7c4b70]
mov esi, dword [0x7c4b6c]
mov eax, dword [0x7c4b68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.004cb0e0
movzx eax, byte [esp + 0x18]
test al, al
je 0x511b5c
mov eax, dword [0x7c4b6c]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
ja 0x511cc7
mov dword [esp + 0x28], ecx
call fcn.0040a4b0
mov eax, dword [esp]
mov dword [esp + 0x8c], eax
lea ecx, [0x5f7ee0]
mov dword [esp], ecx
call fcn.00409a30
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x511b48
mov ecx, dword [esp + 0x8c]
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.0043af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x511b3c
mov dword [edi], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x90]
jmp 0x511380
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x70]
test ecx, ecx
je 0x511b00
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x84], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00510fb0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], esi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov byte [esp + 0xc], 0x3a
call fcn.004022f0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x51153c
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x511cc0
lea edx, [eax + 1]
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
ja 0x511cc0
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.004cb790
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.004cb790
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.0043af60
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], 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.0043af60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x5e16a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.0040e320
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x51152b
mov eax, dword [esp + 0x84]
mov dword [edi], eax
jmp 0x51136d
mov eax, dword [esp + 0x84]
call fcn.0044b680
jmp 0x51136d
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x511af9
mov ecx, dword [ecx]
test ecx, ecx
jne 0x511aab
mov ecx, dword [str._n_____END]
mov edx, dword [0x7c4b5c]
mov ebx, dword [0x7c4b60]
cmp edx, 1
jb 0x511cb9
mov eax, dword [esp + 0x84]
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.004cb070
movzx eax, byte [esp + 0x18]
test al, al
je 0x511aab
mov eax, dword [0x7c4b5c]
dec eax
xor ecx, ecx
test ecx, ecx
jl 0x511a38
mov edx, dword [esp + 0x60]
cmp eax, edx
ja 0x511cb2
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 + 0x84]
add eax, ebp
mov ecx, dword [0x7c4b6c]
mov esi, dword [esp + 0x28]
add ecx, esi
cmp edx, ecx
jl 0x5119d0
cmp ecx, edx
ja 0x511cab
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.004cb070
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 0x5116eb
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x94
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 [0x7c4b68]
mov ecx, dword [0x7c4b6c]
mov edx, dword [0x7c4b70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004cb0e0
movzx eax, byte [esp + 0x18]
test al, al
je 0x511678
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.00510fb0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x51195d
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
cmp eax, ecx
ja 0x511ca4
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.005110d0
mov eax, dword [0x7c8f28]
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 0x511952
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, [0x5dfee0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00437b80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
mov ebp, dword [0x7db370]
test ebp, ebp
jne 0x511945
mov dword [ebx + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [0x7c8f28]
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.005108b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x5118d2
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x14]
cmp eax, edx
ja 0x511c9d
mov dword [ecx + 0x10], eax
mov eax, dword [0x7c4b5c]
mov edx, dword [esp + 0x50]
lea eax, [edx + eax - 1]
mov edx, dword [esp + 0x60]
cmp eax, edx
ja 0x511c96
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebp, dword [esp + 0x84]
add ecx, ebp
mov dword [esp], ecx
sub edx, eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00510fb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x94
ret
lea edi, [ebx + 0xc]
call fcn.0044b680
jmp 0x511801
shr edx, 2
lea eax, [edx + edx*2]
jmp 0x5117c1
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
add esp, 0x94
ret
mov eax, dword [esp + 0x84]
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 [0x7c4b5c]
mov esi, dword [0x7c4b60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004cb7f0
mov ecx, dword [esp + 0x18]
mov eax, dword [0x7c4b5c]
add eax, ecx
jmp 0x5115c4
xor ecx, ecx
jmp 0x511550
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
mov eax, ecx
call fcn.0044b680
jmp 0x51135c
lea edi, [eax + 8]
mov eax, dword [esp + 0x8c]
call fcn.0044b680
jmp 0x511316
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
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.00511cf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
add esp, 0x94
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov ebx, dword [0x7c4b80]
mov ebp, dword [0x7c4b7c]
mov esi, dword [str._n_____BEGIN]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004cb7f0
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x511c5a
mov ecx, dword [0x7c4b7c]
add eax, ecx
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
ja 0x511cce
mov ebp, dword [esp + 0xa0]
sub ebp, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov edi, dword [esp + 0x98]
lea edx, [edi + ebp]
sub ecx, eax
mov ebp, esi
jmp 0x51123c
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
add esp, 0x94
ret
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.004259a0
ud2
call fcn.00449f20
jmp fcn.00511180