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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x58e660
sub esp, 0x164
mov ebx, dword [esp + 0x170]
test ebx, ebx
je 0x58d7b4
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x58d7a2
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 0x58d79e
mov edx, ebp
mov ebp, dword [esp + 0x180]
jmp 0x58d7eb
test ebx, ebx
jmp 0x58d7c9
test ebx, ebx
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x174]
jmp 0x58d7c9
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x174]
je 0x58d80e
mov edi, dword [esp + 0x188]
test edi, edi
je 0x58d7fc
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x180]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x58d7f3
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x58d81e
mov ecx, dword [esp + 0x16c]
jmp 0x58d81e
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
jmp 0x58d81e
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 0x58d85e
mov ebx, dword [esp + 0x18c]
cmp dword [ebx], 1
jne 0x58d865
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 0x58de6b
mov edi, dword [esp + 0x178]
test edi, edi
je 0x58de47
cmp edi, 1
jne 0x58d8e3
cmp dword [esi], 1
jne 0x58d8e3
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x58d8bd
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
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 0x58da47
cmp dword [ebp], 1
jne 0x58da47
mov ebx, dword [esp + 0x190]
test ebx, ebx
jne 0x58d9de
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jg 0x58d911
mov edx, edi
jmp 0x58d987
cmp edi, 1
jne 0x58d952
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ecx, 1
jmp 0x58d987
lea eax, [0x6e5080]
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.0044e0b0
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 0x58d98d
mov edx, edi
cmp esi, eax
je 0x58d9c2
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.00468df0
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.005921d0
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 0x58dbfb
mov ebp, dword [esp + 0x74]
cmp ecx, ebp
jg 0x58da66
cmp ebx, 1
jmp 0x58db07
cmp ecx, 1
jne 0x58daba
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
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 0x58db07
lea eax, [0x6e5080]
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.0044e0b0
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 0x58dbe7
movzx ebx, byte [esp + 0x198]
test bl, bl
je 0x58db25
mov ebx, dword [esp + 0x184]
jmp 0x58dbe7
mov ebx, dword [esp + 0x18c]
mov esi, dword [ebx]
test esi, 1
jne 0x58db5a
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 0x58e510
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.0058f690
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 0x58dc11
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 0x58dcb4
cmp edi, 1
jne 0x58dc6c
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
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 0x58dcb4
lea eax, [0x6e5080]
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.0044e0b0
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 0x58dcc5
mov ebx, edi
cmp esi, eax
je 0x58dd07
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.00468df0
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 0x58dd3f
shr esi, 0x10
mov dword [esp + 0x11c], eax
mov eax, 0x10
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x11c]
jmp 0x58dd56
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
cmp esi, 0x100
jb 0x58dd6d
shr esi, 8
mov ebp, dword [esp + 0x90]
add ebp, 8
jmp 0x58dd74
mov ebp, dword [esp + 0x90]
cmp esi, 0x100
jae 0x58e4ee
mov dword [esp + 0x90], ebp
lea ebp, [0x752f9f]
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 0x58def2
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 0x58de9b
lea eax, [0x6e5080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e0b0
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 0x58e142
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.0058c630
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x58df88
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 0x58e02f
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.0058b680
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 0x58dec1
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.00592350
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 0x58dec1
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 0x58e1b3
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 0x58e1ed
cmp ebx, ebp
jbe 0x58e4e5
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 0x58e267
jmp 0x58e1f0
dec edi
test edi, edi
jle 0x58e1fc
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x58e1ef
mov edx, dword [esp + 0x68]
cmp edi, edx
ja 0x58e220
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, edi
call fcn.00468500
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 0x58e184
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.0058c630
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x58e30b
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 0x58e3b5
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.0058b680
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 0x58e3d8
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe4]
jmp 0x58e227
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.00592350
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 0x58e227
mov eax, ebp
mov ecx, ebx
call fcn.004684c0
mov eax, esi
mov ecx, 0x100
call fcn.004684d0
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 0x58e656
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x58e4fa
lea ebx, [esi - 1]
cmp edx, ebx
jne 0x58e5c2
lea ebx, [edi - 1]
test edi, ebx
jne 0x58e5c2
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.0058ec50
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.0058e670
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.004684d0
nop
call fcn.00467050
jmp fcn.0058d740