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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
test eax, eax
je 0xf4837d
cmp byte [eax], 0x31
jne 0xf4837d
cmp dword [esp + 0x4c], 0x38
jne 0xf4837d
test ebx, ebx
je 0xf48170
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x18], 0
test eax, eax
je 0xf4834d
mov esi, dword [ebx + 0x24]
test esi, esi
je 0xf4836d
cmp edi, 0xffffffff
je 0xf4817d
cmp edi, 9
ja 0xf48170
mov dword [esp + 8], 0x16c4
mov dword [esp + 4], 1
mov edx, dword [ebx + 0x28]
mov dword [esp], edx
call eax
test eax, eax
mov esi, eax
je 0xf483ae
mov dword [ebx + 0x1c], eax
mov dword [eax], ebx
mov dword [eax + 4], 0x2a
mov dword [eax + 0x18], 1
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0xf
mov dword [eax + 0x2c], 0x8000
mov dword [eax + 0x34], 0x7fff
mov dword [eax + 0x50], 0xf
mov dword [eax + 0x4c], 0x8000
mov dword [eax + 0x54], 0x7fff
mov dword [eax + 0x58], 5
mov dword [esp + 8], 2
mov dword [esp + 4], 0x8000
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ebx + 0x20]
mov dword [esi + 0x38], eax
mov dword [esp + 8], 2
mov eax, dword [esi + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ebx + 0x20]
mov dword [esi + 0x40], eax
mov dword [esp + 8], 2
mov eax, dword [esi + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ebx + 0x20]
mov dword [esi + 0x16c0], 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x169c], 0x4000
mov dword [esp + 8], 4
mov dword [esp + 4], 0x4000
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [ebx + 0x20]
mov edx, dword [esi + 0x169c]
mov dword [esi + 8], eax
lea ecx, [edx*4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0xf4838d
mov ebp, dword [esi + 0x40]
test ebp, ebp
je 0xf4838d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0xf4838d
test eax, eax
je 0xf4838d
mov byte [esi + 0x24], 8
mov ebp, dword [ebx + 0x20]
mov ecx, edx
lea edx, [edx + edx*2]
and ecx, 0xfffffffe
mov dword [esi + 0x84], edi
add ecx, eax
mov dword [esi + 0x88], 0
add eax, edx
test ebp, ebp
mov dword [esi + 0x16a4], ecx
mov dword [esi + 0x1698], eax
je 0xf48170
mov edi, dword [ebx + 0x24]
test edi, edi
je 0xf48170
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0xf48170
cmp ebx, dword [esi]
je 0xf4818d
mov eax, 0xfffffffe
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, 6
jmp 0xf48003
mov eax, dword [esi + 4]
lea edx, [eax - 0x39]
cmp eax, 0x2a
setne cl
and edx, 0xffffffef
mov ebp, ecx
lea ecx, [eax - 0x5b]
setne byte [esp + 0x1f]
cmp eax, 0x45
setne dl
mov edi, edx
mov edx, 0x401001
shr edx, cl
cmp ecx, 0x16
mov ecx, 1
not edx
cmova edx, ecx
cmp eax, 0x29a
setne al
and edi, ebp
and eax, edi
test byte [esp + 0x1f], al
je 0xf481d9
and edx, 1
jne 0xf48170
mov eax, dword [esi + 8]
mov dword [ebx + 0x14], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x2c], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
test eax, eax
js 0xf4830d
cmp eax, 2
je 0xf48322
cmp eax, 1
sbb edx, edx
and edx, 0x47
add edx, 0x2a
mov dword [esi + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00f43e7d
mov dword [ebx + 0x30], eax
mov dword [esi + 0x28], 0
mov dword [esp], esi
xor esi, esi
call fcn.00f4e17d
mov ebx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x44]
add eax, eax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x4c]
add eax, 0x7fffffff
lea ecx, [eax + eax]
mov word [edx + eax*2], si
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.00f7b6b5
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x16b4], 0
mov dword [ebx + 0x78], 2
lea eax, [eax + eax*2]
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x48], 0
shl eax, 2
lea edx, [eax + 0x876760]
movzx ecx, word [eax + 0x876762]
movzx eax, word [eax + 0x876760]
mov dword [ebx + 0x8c], eax
movzx eax, word [edx + 4]
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x90], eax
movzx eax, word [edx + 6]
mov dword [ebx + 0x7c], eax
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, eax
neg edx
cmp eax, 0xfffffffe
mov dword [esi + 0x18], edx
mov edx, 0x2a
jne 0xf48221
mov dword [esi + 4], 0x39
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00f52efd
jmp 0xf48240
mov esi, dword [ebx + 0x24]
mov dword [ebx + 0x20], 0x6c6e80
mov eax, 0x6c6e80
mov dword [ebx + 0x28], 0
test esi, esi
jne 0xf47ff1
nop
mov dword [ebx + 0x24], 0x6c6ea0
jmp 0xf47ff1
add esp, 0x2c
mov eax, 0xfffffffa
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x877ff8]
mov dword [esi + 4], 0x29a
mov dword [ebx + 0x18], eax
mov dword [esp], ebx
call fcn.00f479bd
mov eax, 0xfffffffc
jmp 0xf48175
mov eax, 0xfffffffc
jmp 0xf48175