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

Disassembly:
mov ecx, dword [0x817cc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x4bb8b0
sub esp, 0x164
mov ebx, dword [esp + 0x170]
test ebx, ebx
je 0x4baa04
mov ebp, dword [esp + 0x17c]
test ebp, ebp
je 0x4ba9f2
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 0x4ba9ee
mov edx, ebp
mov ebp, dword [esp + 0x180]
jmp 0x4baa3b
test ebx, ebx
jmp 0x4baa19
test ebx, ebx
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x174]
jmp 0x4baa19
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x17c]
mov esi, dword [esp + 0x174]
je 0x4baa5e
mov edi, dword [esp + 0x188]
test edi, edi
je 0x4baa4c
lea ecx, [eax + ebx*4 - 4]
mov edx, ebp
mov ebp, dword [esp + 0x180]
lea edi, [ebp + edi*4 - 4]
cmp edi, ecx
jne 0x4baa43
xor ebx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x4baa6e
mov ecx, dword [esp + 0x16c]
jmp 0x4baa6e
mov edx, ebp
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x16c]
jmp 0x4baa6e
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 0x4baaae
mov ebx, dword [esp + 0x18c]
cmp dword [ebx], 1
jne 0x4baab5
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 0x4bb0bb
mov edi, dword [esp + 0x178]
test edi, edi
je 0x4bb097
cmp edi, 1
jne 0x4bab33
cmp dword [esi], 1
jne 0x4bab33
nop
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x4bab0d
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
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 0x4bac97
cmp dword [ebp], 1
jne 0x4bac97
mov ebx, dword [esp + 0x190]
test ebx, ebx
jne 0x4bac2e
mov ecx, dword [esp + 0x74]
cmp edi, ecx
jg 0x4bab61
mov edx, edi
jmp 0x4babd7
cmp edi, 1
jne 0x4baba2
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x174]
mov edi, 1
mov ecx, 1
jmp 0x4babd7
lea eax, [0x5b16c0]
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.0044d2d0
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 0x4babdd
mov edx, edi
cmp esi, eax
je 0x4bac12
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.00467650
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.004bf420
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 0x4bae4b
mov ebp, dword [esp + 0x74]
cmp ecx, ebp
jg 0x4bacb6
cmp ebx, 1
jmp 0x4bad57
cmp ecx, 1
jne 0x4bad0a
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
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 0x4bad57
lea eax, [0x5b16c0]
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.0044d2d0
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 0x4bae37
movzx ebx, byte [esp + 0x198]
test bl, bl
je 0x4bad75
mov ebx, dword [esp + 0x184]
jmp 0x4bae37
mov ebx, dword [esp + 0x18c]
mov esi, dword [ebx]
test esi, 1
jne 0x4badaa
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 0x4bb760
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.004bc900
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 0x4bae61
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 0x4baf04
cmp edi, 1
jne 0x4baebc
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
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 0x4baf04
lea eax, [0x5b16c0]
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.0044d2d0
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 0x4baf15
mov ebx, edi
cmp esi, eax
je 0x4baf57
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.00467650
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 0x4baf8f
shr esi, 0x10
mov dword [esp + 0x11c], eax
mov eax, 0x10
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x11c]
jmp 0x4bafa6
mov dword [esp + 0x124], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x124]
cmp esi, 0x100
jb 0x4bafbd
shr esi, 8
mov ebp, dword [esp + 0x90]
add ebp, 8
jmp 0x4bafc4
mov ebp, dword [esp + 0x90]
cmp esi, 0x100
jae 0x4bb73e
mov dword [esp + 0x90], ebp
lea ebp, [0x5e5188]
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 0x4bb142
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 0x4bb0eb
lea eax, [0x5b16c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d2d0
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 0x4bb392
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.004b9880
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x4bb1d8
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 0x4bb27f
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.004b88d0
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 0x4bb111
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.004bf5a0
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 0x4bb111
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 0x4bb403
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 0x4bb43d
cmp ebx, ebp
jbe 0x4bb735
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 0x4bb4b7
jmp 0x4bb440
dec edi
test edi, edi
jle 0x4bb44c
mov ebx, dword [eax + edi*4 - 4]
test ebx, ebx
je 0x4bb43f
mov edx, dword [esp + 0x68]
cmp edi, edx
ja 0x4bb470
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edx
add esp, 0x164
ret
mov ecx, edi
call fcn.00466db0
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 0x4bb3d4
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.004b9880
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
test ebx, 0x80000000
jne 0x4bb55b
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 0x4bb605
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.004b88d0
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 0x4bb628
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xe4]
jmp 0x4bb477
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.004bf5a0
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 0x4bb477
mov eax, ebp
mov ecx, ebx
call fcn.00466d70
mov eax, esi
mov ecx, 0x100
call fcn.00466d80
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 0x4bb8a6
mov edi, dword [ebx + edx*4]
test edi, edi
je 0x4bb74a
lea ebx, [esi - 1]
cmp edx, ebx
jne 0x4bb812
lea ebx, [edi - 1]
test edi, ebx
jne 0x4bb812
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.004bbec0
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.004bb8c0
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.00466d80
nop
call fcn.00465910
jmp fcn.004ba990