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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xec]
cmp eax, dword [ecx + 8]
jbe 0x51d363
sub esp, 0x16c
nop
mov eax, dword [esp + 0x178]
test eax, eax
jle 0x51d32b
mov ecx, dword [esp + 0x184]
test ecx, ecx
jle 0x51d316
lea edx, [eax - 1]
cmp edx, eax
jae 0x51d35c
mov edx, dword [esp + 0x170]
lea ebx, [edx + eax*4 - 4]
lea ebp, [ecx - 1]
cmp ebp, ecx
jae 0x51d35c
mov ebp, dword [esp + 0x17c]
lea esi, [ebp + ecx*4 - 4]
cmp esi, ebx
sete bl
test bl, bl
je 0x51d2a4
xor eax, eax
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x198]
cmp esi, 1
jne 0x51d298
mov edi, dword [esp + 0x194]
cmp dword [edi], 1
je 0x51d277
mov edi, dword [esp + 0x18c]
test edi, edi
je 0x51d221
cmp edi, 1
jne 0x51d215
mov edi, dword [esp + 0x188]
cmp dword [edi], 1
jne 0x51c62d
test esi, esi
jne 0x51d198
test esi, esi
je 0x51c63a
nop
cmp esi, edx
jg 0x51d105
nop
nop
mov eax, dword [esp + 0x180]
cmp eax, edx
jg 0x51d066
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x180]
cmp eax, edx
jle 0x51d05f
mov dword [esp + 0x168], ebx
mov dword [esp + 0x48], eax
cmp ebx, ebp
je 0x51c680
mov dword [esp], ebx
mov dword [esp + 4], ebp
shl edx, 2
mov dword [esp + 8], edx
call fcn.0044f8d0
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov ecx, dword [esp + 0x180]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x184]
mov dword [esp + 8], edx
mov ebx, dword [0xb77534]
mov ebp, dword [0xb77530]
mov esi, dword [0xb77538]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.00517310
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x51d04c
mov eax, dword [esp + 0x18c]
cmp eax, 1
jle 0x51d040
mov edx, dword [esp + 0x198]
test edx, edx
jg 0x51cf01
mov ebx, dword [esp + 0x188]
mov ebp, dword [ebx + eax*4 - 4]
nop
nop
nop
nop
cmp ebp, 0x10000
jb 0x51cef8
mov esi, ebp
shr ebp, 0x10
mov ecx, 0x10
cmp ebp, 0x100
jb 0x51cef1
shr ebp, 8
lea edi, [ecx + 8]
cmp ebp, 0x100
jae 0x51d34e
lea ebx, [0xb4f740]
movzx ebx, byte [ebx + ebp]
lea ebx, [ebx + edi - 0x20]
neg ebx
lea ebp, [ebx + 1]
cmp ebp, 0x20
sbb edi, edi
mov ecx, ebp
shl esi, cl
and esi, edi
add ebx, 0xffffffe1
neg ebx
mov dword [esp + 0x5c], ebx
xor ecx, ecx
xor ebp, ebp
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x54], ecx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xa8], ebp
xor edi, edi
mov dword [esp + 0x68], edi
xor edi, edi
mov dword [esp + 0x64], edi
xor edi, edi
mov dword [esp + 0x164], edi
xor edi, edi
mov dword [esp + 0xa4], edi
xor edi, edi
mov dword [esp + 0xa0], edi
xor edi, edi
mov dword [esp + 0x160], edi
xor ecx, ecx
xor ebp, ebp
xor edi, edi
jmp 0x51c816
mov ebp, dword [esp + 0x78]
inc ebp
shl ebx, 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x18c]
mov edx, dword [esp + 0x198]
mov ecx, ebp
mov esi, ebx
mov ebp, edi
mov edi, dword [esp + 0x168]
mov ebx, dword [esp + 0x144]
mov dword [esp + 0x168], ebx
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jge 0x51ca4e
mov dword [esp + 0x78], ecx
mov dword [esp + 0x60], esi
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
call fcn.00519420
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x51c9ac
mov ebp, dword [esp + 0x198]
test ebp, ebp
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x54]
jne 0x51c8c1
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x12c]
jmp 0x51c7af
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x15c], eax
mov ebx, dword [esp + 0x168]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x164]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x19c]
mov dword [esp + 0x2c], esi
call fcn.0051a120
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x160]
mov dword [esp + 0x168], edi
mov edi, dword [esp + 0xa0]
mov edi, dword [esp + 0x98]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x15c]
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebp
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x198]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
jmp 0x51c7af
mov dword [esp + 0x14c], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x168]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x180]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x184]
mov dword [esp + 0x20], esi
call fcn.00518420
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x198]
test ebp, ebp
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x168], ebx
mov ebx, dword [esp + 0x60]
jmp 0x51c888
lea ecx, [eax - 2]
mov ebx, dword [esp + 0x188]
mov esi, dword [esp + 0x160]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x178], eax
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x174], ecx
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x10c], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x10c]
jmp 0x51ce1b
mov ebp, dword [esp + 0x74]
inc ebp
shl ebx, 1
mov dword [esp + 0x74], ebp
mov dword [esp + 0x168], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0x58], edi
mov ebp, dword [esp + 0x9c]
mov edi, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0xa4], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x160]
mov eax, dword [esp + 0x18c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x74]
cmp eax, 0x20
jge 0x51cd9c
mov dword [esp + 0x60], ebx
mov dword [esp + 0x158], esi
mov dword [esp], edi
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
call fcn.00519420
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
test ebx, 0x80000000
jne 0x51ccfd
mov ebp, dword [esp + 0x198]
test ebp, ebp
mov esi, dword [esp + 0x168]
mov edi, dword [esp + 0xa8]
jne 0x51cc0f
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x70], eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x158]
mov dword [esp + 0x160], edx
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
jmp 0x51cacb
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x154], eax
mov dword [esp], esi
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov ebx, dword [esp + 0x164]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x19c]
mov dword [esp + 0x2c], esi
call fcn.0051a120
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x154]
mov dword [esp + 0x164], edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x160], eax
mov edx, esi
mov esi, dword [esp + 0x158]
mov ecx, ebp
mov eax, ebx
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x198]
jmp 0x51cacb
mov dword [esp + 0x150], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x168]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x180]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x184]
mov dword [esp + 0x20], esi
call fcn.00518420
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x198]
test ebp, ebp
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x150]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x60]
jmp 0x51cba1
dec ecx
mov eax, dword [esp + 0x188]
mov ebx, dword [esp + 0x18c]
mov eax, ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0x104], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x178], ebx
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x174], ecx
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x70], edx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x188]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xec]
test ecx, ecx
jl 0x51cea4
cmp ecx, eax
jae 0x51d347
mov dword [esp + 0x7c], ecx
mov ebx, dword [ebx + ecx*4]
mov dword [esp + 0xe4], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x54], eax
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x178]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xcc]
jmp 0x51cb24
mov eax, dword [esp + 0x168]
mov dword [esp], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 8], eax
call fcn.00516bb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], edx
add esp, 0x16c
ret
mov edi, ecx
jmp 0x51c725
mov esi, ebp
xor ecx, ecx
jmp 0x51c713
mov ecx, dword [esp + 0x194]
mov ebx, dword [ecx]
and ebx, 1
cmp ebx, 1
jne 0x51cfab
mov ebx, dword [esp + 0x168]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x180]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x184]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x2c], eax
call fcn.0051dd10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], eax
add esp, 0x16c
ret
mov ebx, dword [esp + 0x168]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x180]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x184]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x2c], eax
call fcn.0051d370
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
mov dword [esp + 0x1a8], eax
add esp, 0x16c
ret
mov edx, dword [esp + 0x198]
jmp 0x51c6ee
mov eax, dword [esp + 0x18c]
mov edx, dword [esp + 0x198]
jmp 0x51c6ee
mov edx, eax
jmp 0x51c65e
cmp eax, 1
jne 0x51d0b8
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x198]
mov edi, dword [esp + 0x188]
mov edx, 1
mov eax, 1
jmp 0x51c64b
lea ecx, [0x7ab600]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [eax + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 8], ecx
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x198]
mov edi, dword [esp + 0x188]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x180]
jmp 0x51c64b
cmp esi, 1
jne 0x51d152
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x198]
mov edi, dword [esp + 0x188]
mov edx, 1
jmp 0x51c63a
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x198]
mov edi, dword [esp + 0x188]
mov edx, dword [esp + 0x4c]
jmp 0x51c63a
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x180]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x194]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x2c], eax
call fcn.0051a120
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], eax
add esp, 0x16c
ret
mov edi, dword [esp + 0x188]
jmp 0x51c62d
nop
nop
cmp edx, 1
jl 0x51d24e
mov dword [ebx], 1
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], 1
mov dword [esp + 0x1a8], edx
add esp, 0x16c
ret
lea eax, [0x7ab600]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0043a890
mov ebx, dword [esp + 0xc]
mov edx, 1
jmp 0x51d228
nop
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], edx
add esp, 0x16c
ret
mov edi, dword [esp + 0x194]
jmp 0x51c601
nop
test eax, eax
jle 0x51d30b
mov ebx, dword [esp + 0x190]
test ebx, ebx
jle 0x51d300
lea esi, [eax - 1]
cmp esi, eax
jae 0x51d355
lea esi, [edx + eax*4 - 4]
lea edi, [ebx - 1]
cmp edi, ebx
jae 0x51d355
mov edi, dword [esp + 0x188]
lea ebx, [edi + ebx*4 - 4]
cmp ebx, esi
sete bl
test bl, bl
jne 0x51c5db
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x170]
jmp 0x51c5e1
mov edi, dword [esp + 0x188]
xor ebx, ebx
jmp 0x51d2de
mov edi, dword [esp + 0x188]
xor ebx, ebx
jmp 0x51d2de
mov edx, dword [esp + 0x170]
mov ebp, dword [esp + 0x17c]
xor ebx, ebx
jmp 0x51c5d3
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x170]
mov ebp, dword [esp + 0x17c]
xor ebx, ebx
jmp 0x51c5d3
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.0051c560