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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xc
mov ebx, ecx
mov eax, dword [esp + 0x20]
mov esi, dword [0xaab3b0]
test eax, eax
je 0x4f9deb
push esi
lea eax, [ebx + 0x11c]
push eax
call fcn.005b9ec4
mov edx, eax
add esp, 8
test edx, edx
jl 0x4fa0e8
jmp 0x4f9e05
push esi
lea eax, [ebx + 0x11c]
push eax
call fcn.005b9910
mov edx, eax
add esp, 8
test edx, edx
jl 0x4fa174
mov eax, 0x38e38e39
mul edx
xor ebp, ebp
shr edx, 4
test edx, edx
jle 0x4f9fcc
mov dword [esp], edx
mov dword [esp + 8], ebx
mov edi, dword [0xaafca0]
push edi
call fcn.008101d0
mov ebx, eax
push edi
call fcn.008123e4
add esp, 8
xor edx, edx
test eax, eax
jle 0x4f9e9d
cmp eax, 6
jl 0x4f9e8b
lea edi, [eax - 6]
movsx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx ecx, word [ebx]
cmp ecx, 0xffffffff
je 0x4f9ede
add edx, 5
add ebx, 0x48
cmp edx, edi
jle 0x4f9e45
movsx edi, word [ebx]
cmp edi, 0xffffffff
je 0x4f9ede
add edx, 1
add ebx, 0x48
cmp edx, eax
jl 0x4f9e8b
mov ebx, dword [0xa727a0]
xor edx, edx
movsx edi, word [ebx]
cmp edi, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx edi, word [ebx]
cmp edi, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx edi, word [ebx]
cmp edi, 0xffffffff
je 0x4f9ede
add ebx, 0x48
movsx edi, word [ebx]
cmp edi, 0xffffffff
je 0x4f9ede
add ebx, 0x48
add edx, 4
cmp edx, 0x80
jl 0x4f9ea5
xor ebx, ebx
test ebx, ebx
je 0x4fa160
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebx], edx
mov edx, dword [esi + 8]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
mov edx, dword [esi + 0x10]
mov dword [ebx + 0x10], edx
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x14], edx
mov edx, dword [esi + 0x18]
mov dword [ebx + 0x18], edx
mov edx, dword [esi + 0x1c]
mov dword [ebx + 0x1c], edx
mov edx, dword [esi + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [esi + 0x24]
mov dword [ebx + 0x24], edx
mov edx, dword [esi + 0x28]
mov dword [ebx + 0x28], edx
mov edx, dword [esi + 0x2c]
mov dword [ebx + 0x2c], edx
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x30], edx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x34], edx
mov edx, dword [esi + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [esi + 0x3c]
mov dword [ebx + 0x3c], edx
mov edx, dword [esi + 0x40]
mov dword [ebx + 0x40], edx
mov edx, dword [esi + 0x44]
mov dword [ebx + 0x44], edx
mov ecx, ebx
call fcn.0061cdb0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 0x58]
lea edi, [ebx + 0x14]
lea edx, [ebx + 0x20]
push edx
push edi
call fcn.004f7fc0
mov edx, dword [esp + 8]
mov edi, dword [edx + 0x58]
mov edx, dword [edi]
mov word [ebx + 0xc], dx
call fcn.00807ac0
mov edx, dword [eax*4 + 0x9fba60]
mov edi, edx
test edx, edx
je 0x4f9fa4
movsx eax, word [edi]
cmp eax, 0xffffffff
je 0x4f9fa4
cmp ax, word [ebx]
je 0x4fa10c
add edi, 0x10
test edx, edx
jne 0x4f9f8c
xor eax, eax
test eax, eax
je 0x4fa100
mov dword [ebx + 0x44], eax
mov dword [eax + 0x80], ebx
mov eax, dword [esp]
add esi, 0x48
add ebp, 1
cmp ebp, eax
jl 0x4f9e20
mov ebx, dword [esp + 8]
push dword [0xaafca0]
xor ebp, ebp
call fcn.008101d0
mov esi, eax
push dword [0xaafca0]
call fcn.008123e4
add esp, 8
xor edx, edx
test eax, eax
jle 0x4fa004
movsx ecx, word [esi]
cmp ecx, 0xffffffff
je 0x4f9ffa
add ebp, 1
add esi, 0x48
add edx, 1
cmp edx, eax
jl 0x4f9fef
mov ecx, dword [0xa727a0]
xor edx, edx
movsx eax, word [ecx]
cmp eax, 0xffffffff
je 0x4fa017
add ebp, 1
movsx esi, word [ecx + 0x48]
lea eax, [ecx + 0x48]
cmp esi, 0xffffffff
je 0x4fa026
add ebp, 1
movsx esi, word [eax + 0x48]
cmp esi, 0xffffffff
je 0x4fa032
add ebp, 1
movsx esi, word [eax + 0x90]
cmp esi, 0xffffffff
je 0x4fa041
add ebp, 1
lea ecx, [eax + 0xd8]
add edx, 4
cmp edx, 0x80
jl 0x4fa00c
push dword [0xaafca0]
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x40], ebp
mov edi, dword [eax]
xor esi, esi
call fcn.008101d0
mov ebp, eax
push dword [0xaafca0]
call fcn.008123e4
add esp, 8
xor edx, edx
test eax, eax
jle 0x4fa09b
movsx ecx, word [ebp]
cmp ecx, 0xffffffff
je 0x4fa091
movsx ecx, word [ebp + 0xc]
cmp ecx, edi
jne 0x4fa091
add esi, 1
add ebp, 0x48
add edx, 1
cmp edx, eax
jl 0x4fa07d
mov ecx, dword [0xa727a0]
xor edx, edx
movsx eax, word [ecx]
cmp eax, 0xffffffff
je 0x4fa0b6
movsx eax, word [ecx + 0xc]
cmp eax, edi
jne 0x4fa0b6
add esi, 1
movsx ebp, word [ecx + 0x48]
lea eax, [ecx + 0x48]
cmp ebp, 0xffffffff
je 0x4fa0cd
movsx ebp, word [eax + 0xc]
cmp ebp, edi
jne 0x4fa0cd
add esi, 1
lea ecx, [eax + 0x48]
add edx, 2
cmp edx, 0x80
jl 0x4fa0a3
mov dword [ebx + 0x44], esi
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret 4
add ebx, 0x78
push ebx
push 0x91ec80
call fcn.0061cdb0
add esp, 0x14
pop ebx
pop ebp
pop esi
pop edi
ret 4
mov dword [ebx + 0x44], 0
jmp 0x4f9fb7
movsx edx, word [ebx + 6]
mov dword [esp + 4], edx
test edx, edx
jne 0x4fa11f
mov edx, dword [edi + 0xc]
mov dword [esp + 4], edx
movzx edx, dx
push edx
call fcn.007ba8d0
pop ecx
mov edx, dword [esp + 4]
mov word [ebx + 0xa], ax
mov eax, dword [0xab02b0]
lea edx, [eax + edx + 1]
cmp edx, 0xb4f
jle 0x4fa149
mov eax, 0xffffffff
jmp 0x4fa14f
mov dword [0xab02b0], edx
mov word [ebx + 4], ax
lea edx, [ebx + 4]
push edx
call dword [edi + 4]
pop ecx
jmp 0x4f9fa6
push 0x91ec94
call fcn.0061cdb0
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret 4
add ebx, 0x78
push ebx
push 0x91ec80
call fcn.0061cdb0
add esp, 0x14
pop ebx
pop ebp
pop esi
pop edi
ret 4