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

Disassembly:
sub esp, 0x818
mov eax, dword [0x1006f3c0]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x81c]
push ebx
mov dword [esp + 4], eax
or ebx, 0xffffffff
cmp dword [0x10074b28], 0
mov eax, dword [esp + 0x824]
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x82c]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x83c]
push edi
mov edi, dword [esp + 0x83c]
mov dword [esp + 0x18], eax
jne 0x100313cc
call fcn.1003bc50
call fcn.10025ac0
mov ebp, eax
test ebp, ebp
je 0x1003164a
mov ecx, 0x100738e0
mov dword [0x100740ec], 0
mov esi, 0x10001f8c
mov dword [0x100740f0], 0
mov edx, 0x402
sub esi, ecx
lea eax, [edx + 0x7ffffbfc]
test eax, eax
je 0x1003141e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003141e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10031400
jmp 0x10031422
test edx, edx
jne 0x10031425
sub ecx, 2
xor eax, eax
mov esi, 0x100010c8
mov word [ecx], ax
mov edx, 0x402
mov ecx, 0x10074108
sub esi, ecx
jmp 0x10031440
lea eax, [edx + 0x7ffffbfc]
test eax, eax
je 0x1003145e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003145e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10031440
jmp 0x10031462
test edx, edx
jne 0x10031465
sub ecx, 2
xor eax, eax
mov dword [0x100740fc], 1
push 0x10001140
push 0x402
mov word [ecx], ax
mov dword [0x100740f8], eax
mov dword [0x10074100], eax
mov dword [0x100740f4], eax
mov dword [0x10075ed4], eax
mov dword [0x100740e4], eax
mov dword [0x100740e8], eax
lea eax, [esp + 0x28]
push eax
push 0x10001194
push ebp
call fcn.10025a70
push 0
push 0
push 0x100010d0
push 0x10001170
push 0x10075ed4
push 0x10001178
push ebp
call fcn.100259c0
push 0
push 0x100740f0
push 0x10002014
push ebp
call fcn.10025a20
push 0x10001f8c
push 0x402
push 0x100738e0
push 0x1000203c
push ebp
call fcn.10025a70
push 0
push 0x100740f8
push 0x1000204c
push ebp
call fcn.10025970
push 1
push 0x100740fc
push 0x1000205c
push ebp
call fcn.10025970
push 0
push 0x10074100
push 0x1000206c
push ebp
call fcn.10025970
push 0x100010c8
push 0x402
push 0x10074108
push 0x10002078
push ebp
call fcn.10025a70
push 0
push 0x100740f4
push 0x10002084
push ebp
call fcn.10025a20
push 1
push 0x100740e4
push 0x10002090
push ebp
call fcn.10025970
push ebp
push dword [esp + 0x18]
push dword [esp + 0x840]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.10025ae0
push ebp
mov esi, eax
call fcn.10025b30
test esi, esi
je 0x10031599
mov eax, 0xffffec57
jmp 0x10031a3f
cmp word [0x100738e0], 0
je 0x100315ee
mov ecx, 0x100738e0
lea edx, [ecx + 2]
jmp 0x100315b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100315b0
sub ecx, edx
sar ecx, 1
movzx eax, word [ecx*2 + 0x100738de]
cmp eax, 0x5c
je 0x100315ee
cmp eax, 0x3a
je 0x100315ee
push 0x804
push 0x100738e0
call fcn.10025870
test eax, eax
jne 0x100315ee
mov eax, 0xfffffc0d
jmp 0x10031a3f
xor esi, esi
push 0x10074108
push dword [esi*8 + 0x1006eab0]
call fcn.10027370
test eax, eax
je 0x10031615
inc esi
cmp esi, 0xb
jl 0x100315f0
mov eax, 0xffffec0c
jmp 0x10031a3f
mov ebx, dword [esi*8 + 0x1006eab4]
cmp ebx, 0xffffffff
jne 0x1003162b
mov eax, 0xffffec0c
jmp 0x10031a3f
lea eax, [esp + 0x20]
push 0x10001140
push eax
call fcn.100175f0
add esp, 8
test eax, eax
jne 0x10031a5a
mov dword [0x100740ec], eax
push 0x2be
call fcn.10026f70
mov esi, eax
test esi, esi
je 0x100315e4
push dword [0x100740ec]
xor eax, eax
mov dword [esi], 0xf
mov word [esi + 0xc], ax
mov dword [esi + 0xe], 1
mov dword [esi + 0x12], 0x40
mov dword [esi + 0x1a], 0x10
mov dword [esi + 0x1e], 0x20
mov eax, dword [0x100740f8]
mov dword [esi + 0x22], eax
mov dword [esi + 0x26], ebx
mov eax, dword [0x100740f4]
mov dword [esi + 0x2a], eax
mov eax, dword [0x10074100]
push esi
mov dword [esi + 0x2e], eax
mov dword [esi + 0x36], 0x14
mov dword [esi + 0x3a], 0
call fcn.1003f450
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov dword [edi], 0x100328c0
mov dword [edi + 4], 0x10032460
mov dword [edi + 8], 0x100324a0
mov dword [edi + 0xc], 0x100329f0
mov dword [edi + 0x10], 0x1001b2a0
mov dword [edi + 0x18], 0x10032890
mov dword [edi + 0x14], 0x10032890
mov dword [edi + 0x1c], 0x10032cb0
mov dword [edi + 0x20], 0x10032cc0
mov dword [edi + 0x24], 0x10032470
mov dword [edi + 0x28], fcn.10036c40
mov dword [edi + 0x2c], fcn.10035ab0
mov dword [edi + 0x30], 0x10035c30
mov dword [edi + 0x34], fcn.100363d0
mov dword [edi + 0x38], 0x100371b0
mov dword [edi + 0x3c], 0x10034ec0
mov dword [edi + 0x40], fcn.10037180
mov dword [edi + 0x44], fcn.10036750
mov dword [edi + 0x48], 0x10036980
mov dword [edi + 0x4c], 0x10032cb0
mov dword [edi + 0x50], 0x10032010
mov dword [edi + 0x54], 0x10034280
mov dword [edi + 0x58], 0x10034680
mov dword [edi + 0x5c], 0x10035080
mov dword [edi + 0x60], fcn.10035720
mov dword [edi + 0x64], fcn.10035900
mov dword [edi + 0x68], 0x10035700
mov dword [edi + 0x6c], 0x10032220
mov dword [edi + 0x74], 0x10032230
mov dword [edi + 0x78], 0x10032190
mov dword [edi + 0x7c], 0x10031fe0
mov dword [edi + 0x80], 0x10031f50
mov dword [edi + 0x84], 0x10031f70
mov dword [edi + 0x88], 0x10031f40
mov dword [edi + 0x90], fcn.10034b20
mov dword [edi + 0x94], 0x10034b90
mov dword [edi + 0x98], 0x10034ed0
mov dword [edi + 0x9c], 0x10034ce0
mov dword [edi + 0xa0], 0x10034ec0
mov dword [edi + 0xa4], 0x10034ec0
mov dword [edi + 0xa8], 0x10032db0
mov dword [edi + 0xac], 0x10035140
mov dword [edi + 0xb0], 0x10035120
mov dword [edi + 0xb4], 0x10032460
mov dword [edi + 0xb8], 0x10035190
mov dword [edi + 0xbc], 0x10035480
mov dword [edi + 0xc0], 0x10035790
mov dword [edi + 0xc4], 0x10035310
mov dword [edi + 0xc8], 0x10035440
mov dword [edi + 0xcc], 0x100351f0
mov dword [edi + 0xd0], 0x100351b0
mov dword [edi + 0xd4], 0x100356d0
mov dword [edi + 0xd8], 0x10034190
mov dword [edi + 0xdc], 0x10034090
mov dword [edi + 0xe0], 0x10033750
mov dword [edi + 0xe4], fcn.10033b40
mov dword [edi + 0xe8], 0x10032fb0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], fcn.10025b60
mov dword [edi + 0xf4], fcn.10025b60
mov dword [edi + 0xf8], 0
xor eax, eax
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0x10032f90
mov dword [edi + 0x104], 0x10032f40
mov dword [edi + 0x108], 0x10032f00
mov dword [edi + 0x10c], 0x10032dd0
mov dword [edi + 0x110], fcn.10025b60
mov dword [edi + 0x114], 0x10032ff0
mov dword [edi + 0x118], 0x100333d0
mov dword [edi + 0x11c], 0x10033ce0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], fcn.10025b60
mov dword [edi + 0x128], fcn.10025b60
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0x10033c90
mov dword [edi + 0x138], 0x10033c10
mov dword [edi + 0x13c], 0x10033bb0
mov dword [edi + 0x140], 0x10033880
mov dword [edi + 0x144], fcn.10025b20
mov dword [edi + 0x148], 0x10033d10
mov dword [edi + 0x14c], 0x10033830
mov dword [edi + 0x150], 0x10018d60
mov dword [edi + 0x154], 0x10033800
mov dword [edi + 0x158], 0x10018c50
mov dword [edi + 0x15c], fcn.10018cd0
mov dword [edi + 0x160], 0x10018b50
mov dword [edi + 0x164], 0x10032da0
mov dword [edi + 0x168], 0x10018ca0
mov dword [edi + 0x16c], 0x10018c70
mov dword [edi + 0x170], 0x1001af50
mov dword [edi + 0x174], 0x10032870
mov dword [edi + 0x178], 0x10032870
mov dword [edi + 0x17c], fcn.10018d50
mov dword [edi + 0x180], 0x10032da0
mov dword [edi + 0x184], 0x10034210
mov dword [edi + 0x188], 0x10034240
mov dword [edi + 0x18c], 0x10034260
mov dword [edi + 0x190], 0x100350a0
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100526ad
add esp, 0x818
ret 0x18
lea eax, [esp + 0x20]
push 0x1000114c
push eax
call fcn.100175f0
add esp, 8
test eax, eax
jne 0x10031a7f
mov dword [0x100740ec], 1
jmp 0x1003164a
mov eax, 0xffffec5e
jmp 0x10031a3f