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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x558dc0
sub esp, 0x164
mov ebx, dword [esp + 0x170]
test ebx, ebx
je 0x557f14
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x557f02
mov esi, dword [esp + 0x168]
lea edi, [esi + ebx*4 - 4]
mov eax, esi
mov esi, dword [esp + 0x174]
lea ecx, [esi + ebp*4 - 4]
cmp ecx, edi
jne 0x557efe
mov edx, ebp
mov ebp, dword [esp + 0x180]
jmp 0x557f4b
test ebx, ebx
jmp 0x557f29
test ebx, ebx
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x174]
jmp 0x557f29
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x174]
je 0x557f6e
mov edi, dword [esp + 0x188]
test edi, edi
je 0x557f5c
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x180]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x557f53
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x557f7e
mov ecx, dword [esp + 0x16c]
jmp 0x557f7e
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
jmp 0x557f7e
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x74], ebx
mov edi, dword [esp + 0x190]
cmp edi, 1
jne 0x557fbe
mov ebx, dword [esp + 0x18c]
cmp dword [ebx], 1
jne 0x557fc5
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1a4], eax
add esp, 0x164
ret
mov ebx, dword [esp + 0x18c]
mov ebx, dword [esp + 0x184]
test ebx, ebx
je 0x5585cb
mov edi, dword [esp + 0x178]
test edi, edi
je 0x5585a7
cmp edi, 1
jne 0x558043
cmp dword [esi], 1
jne 0x558043
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x55801d
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
cmp ebx, 1
jne 0x5581a7
cmp dword [ebp], 1
jne 0x5581a7
mov ebx, dword [esp + 0x190]
test ebx, ebx
jne 0x55813e
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jg 0x558071
mov edx, edi
jmp 0x5580e7
cmp edi, 1
jne 0x5580b2
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ecx, 1
jmp 0x5580e7
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 8], eax
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, edx
mov ecx, dword [esp + 0x50]
cmp edx, edi
jl 0x5580ed
mov edx, edi
cmp esi, eax
je 0x558122
mov dword [esp + 0x64], edi
mov dword [esp + 0x13c], eax
mov dword [esp + 0x70], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046c7b0
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x194]
mov dword [esp + 0x20], eax
call fcn.0055bfa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, dword [esp + 0x190]
test ecx, ecx
je 0x55835b
mov ebp, dword [esp + 0x74]
cmp ecx, ebp
jg 0x5581c6
cmp ebx, 1
jmp 0x558267
cmp ecx, 1
jne 0x55821a
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
cmp ecx, 1
mov edx, dword [esp + 0x17c]
mov ebx, ecx
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebp, 1
mov ecx, 1
jmp 0x558267
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x4c], edx
mov dword [esp + 8], edx
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x184]
cmp ecx, 1
mov edx, dword [esp + 0x17c]
mov ebx, ecx
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x190]
jle 0x558347
movzx ebx, byte [esp + 0x198]
test bl, bl
je 0x558285
mov ebx, dword [esp + 0x184]
jmp 0x558347
mov ebx, dword [esp + 0x18c]
mov esi, dword [ebx]
test esi, 1
jne 0x5582ba
nop
mov esi, dword [esp + 0x190]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd4]
jmp 0x558c70
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x2c], eax
call fcn.00559e10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x180]
jmp 0x558371
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x12c]
mov ebx, dword [esp + 0x6c]
cmp edi, ebx
jle 0x558414
cmp edi, 1
jne 0x5583cc
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ebx, 1
jmp 0x558414
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [edi + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x178]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x178]
cmp ebx, edi
jl 0x558425
mov ebx, edi
cmp esi, eax
je 0x558467
mov dword [esp + 0x60], edi
mov dword [esp + 0x138], eax
mov dword [esp], eax
mov dword [esp + 4], esi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0046c7b0
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x184]
mov esi, dword [ebp + ebx*4 - 4]
mov dword [esp + 0x7c], esi
nop
nop
cmp esi, 0x10000
jb 0x55849f
shr esi, 0x10
mov dword [esp + 0x11c], eax
mov eax, 0x10
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x11c]
jmp 0x5584b6
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
cmp esi, 0x100
jb 0x5584cd
shr esi, 8
mov ebp, dword [esp + 0x90]
add ebp, 8
jmp 0x5584d4
mov ebp, dword [esp + 0x90]
cmp esi, 0x100
jae 0x558c4e
mov dword [esp + 0x90], ebp
lea ebp, [0x68ee1a]
movzx ebp, byte [ebp + esi]
mov esi, dword [esp + 0x90]
lea ebp, [ebp + esi - 0x20]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x54], ebp
lea esi, [ebp + 1]
mov ecx, esi
mov ebp, dword [esp + 0x7c]
shl ebp, cl
mov dword [esp + 0xd0], ebp
mov ebp, dword [esp + 0x54]
add ebp, 0xffffffe1
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x78], ebp
cmp ecx, 0x20
sbb esi, esi
mov ecx, ebp
mov ebp, dword [esp + 0xd0]
and ebp, esi
xor esi, esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0x134], eax
xor eax, eax
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x140], eax
xor eax, eax
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x144], eax
xor esi, esi
mov eax, dword [esp + 0x114]
jmp 0x558652
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1a4], eax
add esp, 0x164
ret
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x5585fb
lea eax, [0x62f7e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, 1
mov dword [eax], 1
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a4], ecx
add esp, 0x164
ret
mov ebp, dword [esp + 0x98]
inc ebp
shl ebx, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0xcc], esi
mov edx, dword [esp + 0x17c]
mov esi, ebp
mov ebp, ebx
mov edi, ecx
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x184]
cmp esi, ecx
jge 0x5588a2
mov dword [esp + 0x160], eax
mov dword [esp + 0x98], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
call fcn.00556d90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x5586e8
mov ebp, dword [esp + 0x190]
test ebp, ebp
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xc8]
mov esi, dword [esp + 0x160]
mov dword [esp + 0x134], esi
mov esi, dword [esp + 0x5c]
jmp 0x55878f
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x15c], eax
mov ebx, dword [esp + 0x160]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x178]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x20], esi
call fcn.00555de0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x190]
test ebx, ebx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x15c]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x190]
je 0x558621
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x158], eax
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x194]
mov dword [esp + 0x2c], esi
call fcn.0055c120
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov edi, dword [esp + 0x144]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebx
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x190]
mov dword [esp + 0x10c], eax
mov eax, esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10c]
jmp 0x558621
lea ebp, [ebx - 2]
mov esi, dword [esp + 0x180]
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x104]
jmp 0x558913
dec ebp
mov esi, dword [esp + 0x180]
mov edx, dword [esp + 0x88]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf4]
test ebp, ebp
jl 0x55894d
cmp ebx, ebp
jbe 0x558c45
mov dword [esp + 0xa0], ebp
mov edx, dword [esi + ebp*4]
mov dword [esp + 0xec], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xec]
jmp 0x5589c7
jmp 0x558950
dec edi
test edi, edi
jle 0x55895c
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x55894f
mov edx, dword [esp + 0x68]
cmp edi, edx
ja 0x558980
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, edi
call fcn.0046bf70
mov ebp, dword [esp + 0x94]
inc ebp
shl ebx, 1
mov dword [esp + 0x94], ebp
mov dword [esp + 0xcc], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov edx, ebx
mov ebx, dword [esp + 0x184]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x180]
mov edi, ecx
mov ecx, dword [esp + 0x144]
mov esi, dword [esp + 0x94]
cmp esi, 0x20
jge 0x5588e4
mov dword [esp + 0x154], ecx
mov dword [esp + 0xb4], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x134]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x14], ecx
call fcn.00556d90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x558a6b
mov ebp, dword [esp + 0x190]
test ebp, ebp
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xb4]
mov esi, dword [esp + 0x150]
mov dword [esp + 0x134], esi
mov esi, dword [esp + 0xcc]
jmp 0x558b15
mov dword [esp + 0xb0], edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0xac], ecx
mov ebx, dword [esp + 0x150]
mov dword [esp], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x174]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x178]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x17c]
mov dword [esp + 0x20], esi
call fcn.00555de0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x190]
test ebx, ebx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x190]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0x14c]
mov dword [esp + 0x134], ebp
mov ebp, dword [esp + 0x190]
jne 0x558b38
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe4]
jmp 0x558987
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x148], eax
mov dword [esp + 0xa4], edx
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x194]
mov dword [esp + 0x2c], esi
call fcn.0055c120
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov edi, dword [esp + 0x154]
mov dword [esp + 0x134], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x148]
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebx
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x88], ebp
mov ebp, dword [esp + 0x190]
mov dword [esp + 0xdc], eax
mov eax, esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xdc]
jmp 0x558987
mov eax, ebp
mov ecx, ebx
call fcn.0046bf30
mov eax, esi
mov ecx, 0x100
call fcn.0046bf40
inc edx
mov edi, dword [esp + 0x178]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x17c]
mov edx, dword [esp + 0x9c]
cmp esi, edx
jbe 0x558db6
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x558c5a
lea ebx, [esi - 1]
cmp edx, ebx
jne 0x558d22
lea ebx, [edi - 1]
test edi, ebx
jne 0x558d22
shl edx, 5
bsf ebx, edi
add edx, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.005593d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x174]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x184]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x194]
mov dword [esp + 0x2c], eax
call fcn.00558dd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov eax, edx
mov ecx, esi
call fcn.0046bf40
nop
call fcn.0046aab0
jmp fcn.00557ea0