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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f8246
sub esp, 0x60
mov eax, dword [0xb44114]
test eax, eax
je 0x4f8207
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jle 0x4f8207
mov edx, 1
jmp 0x4f7dcf
shl eax, 1
inc edx
mov ecx, ebx
mov ebx, ecx
sar ecx, 1
cmp eax, ecx
jge 0x4f7ddc
cmp edx, 0x40
jl 0x4f7dca
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x68]
cmp eax, 0xa
jne 0x4f81dc
lea eax, [0xb81da0]
mov dword [esp], eax
call fcn.0045e950
lea eax, [0xb81da8]
test byte [eax], al
mov eax, dword [esp + 0x34]
cmp eax, 0x40
ja 0x4f823f
mov ecx, eax
mov edx, 0x40
lea ebx, [0xb81da8]
lea ebp, [ecx - 1]
cmp ebp, eax
jae 0x4f8238
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], ebx
lea ebp, [ecx + ecx*4]
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
jne 0x4f81d3
xor ebp, ebp
jmp 0x4f7e48
inc ebp
cmp ebp, ecx
jge 0x4f819e
cmp ebp, eax
jae 0x4f8231
lea esi, [ebp + ebp*4]
mov edi, dword [ebx + esi*4 + 0x10]
test edi, edi
jne 0x4f7e47
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], esi
test ebp, ebp
je 0x4f812a
lea edi, [ebp - 1]
cmp edi, eax
jae 0x4f822a
mov eax, dword [ebx + esi*4 - 0xc]
mov ecx, dword [ebx + esi*4 - 0x10]
mov edx, dword [ebx + esi*4 - 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004f0ad0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x5c]
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], eax
lea edi, [ebp + ebx*4]
mov eax, dword [0xb92b90]
test eax, eax
jne 0x4f811e
mov dword [ebp + ebx*4], edx
mov eax, dword [ebp + ebx*4 - 4]
shl eax, 1
mov dword [ebp + ebx*4 + 0x10], eax
mov eax, dword [ebp + ebx*4 + 4]
mov ecx, dword [ebp + ebx*4]
lea edx, [ebp + ebx*4]
mov dword [esp + 0x58], edx
test eax, eax
jg 0x4f80d2
mov esi, eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, esi
cmp eax, esi
jle 0x4f80cb
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], edi
cmp edi, ecx
je 0x4f7f45
mov dword [esp], edi
mov dword [esp + 4], ecx
shl esi, 2
mov dword [esp + 8], esi
call fcn.0044d190
jmp 0x4f7f45
mov eax, dword [ebx + ecx*4 + 0x10]
inc eax
mov dword [ebx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
call fcn.004ff050
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4f804b
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + ecx*4 + 8]
mov ebp, dword [edx + ecx*4]
mov esi, dword [esp + 0x28]
cmp esi, ebx
jg 0x4f8015
mov eax, esi
cmp esi, eax
jle 0x4f800f
mov edi, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
je 0x4f7fcf
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.0044d190
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ebx + ecx*4 + 8], edx
mov edx, dword [0xb92b90]
test edx, edx
jne 0x4f7ffd
mov eax, dword [esp + 0x50]
mov dword [ebx + ecx*4], eax
jmp 0x4f7f3c
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
call fcn.0044c990
jmp 0x4f7f3c
mov edi, eax
mov eax, esi
jmp 0x4f7fa8
lea eax, [0x7b4160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
call fcn.00438a20
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
jmp 0x4f7fa2
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [ecx + eax*4]
lea ebp, [edx - 1]
test ebp, ebp
jl 0x4f80c1
mov edx, dword [ebx + edx*4 - 4]
cmp edx, 0x10000
jb 0x4f80bd
shr edx, 0x10
mov ebx, 0x10
cmp edx, 0x100
jb 0x4f8083
shr edx, 8
add ebx, 8
cmp edx, 0x100
jae 0x4f8223
shl ebp, 5
lea esi, [0xb49640]
movzx edx, byte [esi + edx]
add edx, ebx
add edx, ebp
mov dword [ecx + eax*4 + 0xc], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x3c]
jmp 0x4f7e47
xor ebx, ebx
jmp 0x4f8075
lea esi, [0xb49640]
xor edx, edx
jmp 0x4f80a0
mov esi, eax
jmp 0x4f7f1b
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], ecx
lea ecx, [0x7b4160]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [eax + 4]
mov dword [esp + 8], edx
call fcn.00438a20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, ecx
mov ecx, dword [esp + 0x4c]
jmp 0x4f7f13
mov eax, edx
call fcn.0044c990
jmp 0x4f7ee5
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov ecx, dword [0xb44114]
mov dword [esp + 0x10], ecx
call fcn.004f7c30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x5c]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov eax, dword [0xb92b90]
test eax, eax
jne 0x4f8195
mov dword [edi], ecx
mov eax, dword [0xb44114]
mov ecx, dword [esp + 0x6c]
imul eax, ecx
mov dword [edi + 0x10], eax
mov ebx, dword [esp + 0x44]
mov ebp, edi
jmp 0x4f7eef
mov eax, ecx
call fcn.0044c990
jmp 0x4f817a
mov ecx, dword [esp + 0x68]
cmp ecx, 0xa
je 0x4f81b7
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x60
ret
lea eax, [0xb81da0]
mov dword [esp], eax
call fcn.0045ec90
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
jmp 0x4f81a7
mov ecx, dword [esp + 0x68]
cmp ecx, 0xa
jmp 0x4f81a5
lea eax, [0x7ec5c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00438a20
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
jmp 0x4f7e1d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x60
ret
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004265e0
ud2
call fcn.0044b230
jmp fcn.004f7d90