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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x4f4730
sub esp, 0x164
mov ebx, dword [esp + 0x170]
test ebx, ebx
je 0x4f3884
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x4f3872
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 0x4f386e
mov edx, ebp
mov ebp, dword [esp + 0x180]
jmp 0x4f38bb
test ebx, ebx
jmp 0x4f3899
test ebx, ebx
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x174]
jmp 0x4f3899
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x174]
je 0x4f38de
mov edi, dword [esp + 0x188]
test edi, edi
je 0x4f38cc
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x180]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x4f38c3
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x4f38ee
mov ecx, dword [esp + 0x16c]
jmp 0x4f38ee
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
jmp 0x4f38ee
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 0x4f392e
mov ebx, dword [esp + 0x18c]
cmp dword [ebx], 1
jne 0x4f3935
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 0x4f3f3b
mov edi, dword [esp + 0x178]
test edi, edi
je 0x4f3f17
cmp edi, 1
jne 0x4f39b3
cmp dword [esi], 1
jne 0x4f39b3
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x4f398d
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
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 0x4f3b17
cmp dword [ebp], 1
jne 0x4f3b17
mov ebx, dword [esp + 0x190]
test ebx, ebx
jne 0x4f3aae
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jg 0x4f39e1
mov edx, edi
jmp 0x4f3a57
cmp edi, 1
jne 0x4f3a22
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ecx, 1
jmp 0x4f3a57
lea eax, [0x6f5360]
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.0044e560
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 0x4f3a5d
mov edx, edi
cmp esi, eax
je 0x4f3a92
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.004697f0
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.004f8770
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 0x4f3ccb
mov ebp, dword [esp + 0x74]
cmp ecx, ebp
jg 0x4f3b36
cmp ebx, 1
jmp 0x4f3bd7
cmp ecx, 1
jne 0x4f3b8a
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
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 0x4f3bd7
lea eax, [0x6f5360]
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.0044e560
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 0x4f3cb7
movzx ebx, byte [esp + 0x198]
test bl, bl
je 0x4f3bf5
mov ebx, dword [esp + 0x184]
jmp 0x4f3cb7
mov ebx, dword [esp + 0x18c]
mov esi, dword [ebx]
test esi, 1
jne 0x4f3c2a
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 0x4f45e0
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.004f5760
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 0x4f3ce1
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 0x4f3d84
cmp edi, 1
jne 0x4f3d3c
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
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 0x4f3d84
lea eax, [0x6f5360]
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.0044e560
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 0x4f3d95
mov ebx, edi
cmp esi, eax
je 0x4f3dd7
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.004697f0
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 0x4f3e0f
shr esi, 0x10
mov dword [esp + 0x11c], eax
mov eax, 0x10
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x11c]
jmp 0x4f3e26
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
cmp esi, 0x100
jb 0x4f3e3d
shr esi, 8
mov ebp, dword [esp + 0x90]
add ebp, 8
jmp 0x4f3e44
mov ebp, dword [esp + 0x90]
cmp esi, 0x100
jae 0x4f45be
mov dword [esp + 0x90], ebp
lea ebp, [0x753253]
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 0x4f3fc2
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 0x4f3f6b
lea eax, [0x6f5360]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044e560
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 0x4f4212
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.004f2500
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x4f4058
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 0x4f40ff
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.004f1550
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 0x4f3f91
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.004f88f0
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 0x4f3f91
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 0x4f4283
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 0x4f42bd
cmp ebx, ebp
jbe 0x4f45b5
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 0x4f4337
jmp 0x4f42c0
dec edi
test edi, edi
jle 0x4f42cc
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x4f42bf
mov edx, dword [esp + 0x68]
cmp edi, edx
ja 0x4f42f0
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, edi
call fcn.00468f10
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 0x4f4254
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.004f2500
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x4f43db
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 0x4f4485
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.004f1550
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 0x4f44a8
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe4]
jmp 0x4f42f7
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.004f88f0
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 0x4f42f7
mov eax, ebp
mov ecx, ebx
call fcn.00468ed0
mov eax, esi
mov ecx, 0x100
call fcn.00468ee0
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 0x4f4726
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x4f45ca
lea ebx, [esi - 1]
cmp edx, ebx
jne 0x4f4692
lea ebx, [edi - 1]
test edi, ebx
jne 0x4f4692
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.004f4d20
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.004f4740
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.00468ee0
nop
call fcn.00467a60
jmp fcn.004f3810