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

Disassembly:
push 0xffffffffffffffff
push 0x1005e439
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10081730]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ecx, dword [esp + 0x90]
lea ebp, [esi + 4]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], esi
mov word [ebp], di
mov edx, dword [ebx + 0x34]
cmp edx, 3
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], 1
ja case.default.0x10048018
jmp dword [edx*4 + 0x100482b0]
push ecx
push eax
mov ecx, esi
call fcn.10046170
cmp dword [esi + 0x14], 0
jbe 0x1004807a
cmp edi, dword [esi + 0x14]
jbe 0x10048038
call fcn.10032095
cmp dword [esi + 0x18], 8
jb 0x10048043
mov eax, dword [ebp]
jmp 0x10048045
mov eax, ebp
movzx ecx, word [eax + edi*2]
mov edx, dword [ebx]
call fcn.10054e20
cmp edi, dword [esi + 0x14]
movzx ebx, ax
jbe 0x1004805d
call fcn.10032095
cmp dword [esi + 0x18], 8
jb 0x10048068
mov eax, dword [ebp]
jmp 0x1004806a
mov eax, ebp
mov word [eax + edi*2], bx
mov ebx, dword [esp + 0x14]
add edi, 1
cmp edi, dword [esi + 0x14]
jb 0x10048038
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x1004808b
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jmp 0x10048091
mov dword [esp + 0x14], ebp
mov edi, ebp
test edi, edi
je 0x100480bb
cmp ecx, 8
jb 0x1004809f
mov eax, dword [ebp]
jmp 0x100480a1
mov eax, ebp
cmp eax, edi
ja 0x100480bb
cmp ecx, 8
jb 0x100480af
mov eax, dword [ebp]
jmp 0x100480b1
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x100480c0
call fcn.10032095
cmp esi, 0xfffffffe
je 0x100480e1
cmp dword [esi + 0x18], 8
jb 0x100480d0
mov eax, dword [ebp]
jmp 0x100480d2
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x100480e1
call fcn.10032095
mov ecx, dword [esi + 0x18]
cmp ecx, 8
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
jb 0x100480f5
mov edi, dword [ebp]
jmp 0x100480f7
mov edi, ebp
test edi, edi
je 0x1004811e
cmp ecx, 8
jb 0x10048105
mov eax, dword [ebp]
jmp 0x10048107
mov eax, ebp
cmp eax, edi
ja 0x1004811e
cmp ecx, 8
jb 0x10048115
mov eax, dword [ebp]
jmp 0x10048117
mov eax, ebp
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x10048123
call fcn.10032095
cmp esi, 0xfffffffe
je 0x10048141
cmp dword [esi + 0x18], 8
jb 0x10048131
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x14]
lea edx, [ebp + ecx*2]
cmp edi, edx
jb 0x10048141
call fcn.10032095
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*2]
push edx
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.10044640
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.10001537
cmp dword [esp + 0x38], 8
mov byte [esp + 0x80], 0
jb 0x10048249
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10031683
add esp, 4
jmp 0x10048249
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.10044640
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 2
call fcn.10001537
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0
call fcn.100014cc
movzx eax, word [ebx + 0x38]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.10001365
jmp case.default.0x10048018
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.10044640
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 3
call fcn.10001537
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 0
call fcn.100014cc
cmp dword [esi + 0x14], 0
jbe 0x1004823f
cmp edi, dword [esi + 0x14]
jbe 0x10048220
call fcn.10032095
cmp dword [esi + 0x18], 8
jb 0x1004822b
mov eax, dword [ebp]
jmp 0x1004822d
mov eax, ebp
mov dx, word [eax + edi*2]
cmp dx, word [ebx + 0x38]
je 0x1004823f
add edi, 1
cmp edi, dword [esi + 0x14]
jb 0x10048220
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10001365
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x10048298
mov dword [esp + 0x38], 7
mov word [esp + 0x24], di
mov dword [esp + 0x34], 1
mov word [esp + 0x26], di
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 4
call fcn.10001537
cmp dword [esp + 0x38], 8
jb 0x10048298
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10031683
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc