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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe8]
push ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xf0]
push ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x7c], eax
xor eax, eax
push esi
mov esi, dword [esp + 0x108]
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x70]
push edi
mov edi, dword [esp + 0x110]
mov dword [esp + 0x94], 0
cmp dword [eax + 0xd0], 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], 0
jge 0x10122bfe
call fcn.1007ba24
mov dword [edi], 0
xor edi, edi
mov dword [esp + 0x48], eax
xor eax, eax
test dword [esp + 0xec], 0x4000
mov dword [ebp], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], edi
mov dword [esi], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
jne 0x10122c08
push 1
push 1
mov ecx, ebx
call fcn.1003fe11
test dword [0x102390b4], 0x400
mov dword [esp + 0x80], eax
jne 0x10122c16
cmp dword [esp + 0x104], 0
jne 0x10122c26
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x3c]
push 4
push 0x1023d058
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [eax]
or ecx, 0xffffffff
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x44], 0xffffffff
call fcn.100de583
lea ecx, [esp + 0x8c]
call fcn.100de5a8
mov esi, dword [esp + 0x108]
movzx ecx, ax
and eax, 0x3ff
shr ecx, 0xa
cmp eax, 0x104
je 0x10040007
cmp eax, 0xe3
je 0x10122e5d
cmp eax, 0xcd
jne 0x1005de9b
sub ecx, 4
je 0x1006929c
dec ecx
jne 0x10122e6a
inc dword [ebp]
mov eax, 0x26
mov dword [esp + 0x20], eax
mov edi, 5
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0xdc]
push 0
push ebp
mov ecx, ebx
mov dword [esp + 0x9c], 0
call fcn.100de600
mov ecx, dword [esp + 0x84]
push 1
mov dword [ecx], eax
push 1
mov ecx, ebx
call fcn.1003fe11
test eax, eax
jne 0x100ce364
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x4c], 0
jne 0x10122f7f
test dword [0x102390b4], 0x400
jne 0x10122f8e
cmp dword [esp + 0x104], 0
jne 0x10122fab
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x74]
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
mov eax, ebp
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0xc8
ret 0x38
cmp eax, 0xf2
mov eax, dword [esp + 0x94]
je 0x10122e93
mov ebp, dword [eax]
add eax, 4
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ebp
cmp ebp, dword [eax + 4]
ja 0x10122ed8
mov eax, dword [eax]
add eax, ebp
test byte [eax + 0x3d], 6
jne 0x1003fffe
cmp edi, 5
mov edi, 1
jl 0x10040003
jmp 0x1003fffe
cmp edi, 5
jge 0x100692aa
mov edi, 1
mov dword [esp + 0x10], edi
test esi, esi
jne 0x10122e86
mov eax, 0x22
mov dword [esp + 0x20], eax
jmp 0x10040007
test ebp, ebp
jns 0x100ce3f6
jmp 0x1004008a
push dword [esp + 0xec]
lea eax, [esp + 0x44]
push esi
push dword [esp + 0x50]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x50]
push dword [eax]
mov eax, dword [esp + 0x2c]
push dword [eax]
push ebp
call fcn.100cdc3b
mov ebp, eax
test ebp, ebp
js 0x1004008a
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
test esi, esi
jne 0x10122edf
test al, 2
jne 0x10122ee6
call fcn.1000c10d
cmp eax, 2
je 0x10122ef2
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x70]
push 1
push esi
push 0
push edi
call fcn.10029570
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
js 0x1004008a
movzx ecx, word [ebx + 0x64]
sub ecx, dword [ebx + 0x5dc]
jne 0x10122f26
cmp dword [esi], 0
jne 0x10040043
jmp 0x10040084
call fcn.101b8909
jmp 0x1003fef9
mov edi, 5
mov dword [esp + 0x10], edi
jmp 0x1003ff39
push 0
push 2
mov ecx, ebx
call fcn.1003fe11
jmp 0x1003ff5b
mov ebp, dword [esp + 0xdc]
lea eax, [esp + 0x58]
push eax
push ebp
lea ecx, [ebx + 0x40]
call fcn.10041d7e
test dword [esp + 0x58], 0x4000
je 0x10122c4e
mov edi, 5
mov dword [esp + 0x10], edi
push 1
push 0x10243678
push dword [esp + 0x68]
lea ecx, [esp + 0x98]
push dword [esp + 0x74]
call fcn.100de583
lea ecx, [esp + 0x8c]
call fcn.100de5a8
mov ecx, eax
and eax, 0x3ff
cmp eax, 0x104
je 0x10122cc4
movzx eax, cx
shr eax, 0xa
sub eax, 4
je 0x10122cb3
dec eax
je 0x10122ca9
cmp edi, 5
jge 0x10122c9f
mov edi, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], 0x26
jmp 0x10122cc4
mov dword [esp + 0x28], 0x26
jmp 0x10122cbb
mov dword [esp + 0x4c], 1
mov edi, 5
mov dword [esp + 0x10], edi
push 3
push 0x10243670
push dword [esp + 0x68]
lea ecx, [esp + 0x98]
push dword [esp + 0x74]
mov dword [esp + 0xa4], 0
call fcn.100de583
lea ecx, [esp + 0x8c]
call fcn.100de5a8
and eax, 0x3ff
cmp eax, 0xf2
jne 0x10122d5a
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x80]
cmp ecx, dword [eax + 4]
jbe 0x10122d24
xor eax, eax
jmp 0x10122d28
mov eax, dword [eax]
add eax, ecx
mov al, byte [eax]
and al, 7
cmp al, 2
jne 0x10122de5
mov edi, dword [esp + 0x98]
sub edi, dword [esp + 0x9c]
mov dword [esp + 0x50], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x88], ecx
jmp 0x10122ded
cmp eax, 0x104
je 0x10122de5
mov eax, dword [esp + 0x94]
mov esi, dword [eax]
mov edx, dword [ebx + 0x80]
add eax, 4
mov dword [esp + 0x94], eax
mov dword [esp + 0x24], esi
cmp esi, dword [edx + 4]
jbe 0x10122d8b
xor ecx, ecx
jmp 0x10122d8f
mov ecx, dword [edx]
add ecx, esi
mov al, byte [ecx + 1]
and al, 7
cmp al, 1
je 0x10122d9f
cmp word [ecx + 0x30], 0xffff
jne 0x10122de5
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x9c]
mov dword [esp + 0x54], 1
mov dword [esp + 0x30], eax
cmp esi, dword [edx + 4]
jbe 0x10122dc2
xor eax, eax
jmp 0x10122dc6
mov eax, dword [edx]
add eax, esi
test byte [eax + 0x3d], 6
jne 0x10122ddb
cmp edi, 5
jge 0x10122ddb
mov dword [esp + 0x10], 1
jmp 0x10122df5
mov dword [esp + 0x10], 5
jmp 0x10122df5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], esi
push dword [esp + 0x58]
lea eax, [esp + 0x44]
push 1
push dword [esp + 0x50]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x74]
mov dword [esp + 0xac], 0
push dword [esp + 0x80]
push ebp
call fcn.100cdc3b
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
js 0x1004008a
mov eax, dword [esp + 0x28]
or eax, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
test al, 4
je 0x1003ff79
or eax, 0x20
mov dword [esp + 0x28], eax
jmp 0x1003ff79
mov dword [esp + 0x38], 1
jmp 0x10040007
cmp edi, 5
jge 0x10122e78
mov edi, 1
mov dword [esp + 0x10], edi
mov eax, 0x26
mov dword [esp + 0x20], eax
jmp 0x10040007
mov dword [esp + 0x4c], 1
jmp 0x10040007
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x78], eax
call fcn.100de5a8
cmp eax, 0x104
je 0x10040007
or ecx, 0xffffffff
mov dword [esp + 0x1c], ecx
jmp 0x10040007
xor eax, eax
jmp 0x1005ded8
test al, 4
jmp 0x100ce3ae
or eax, 0x20
mov dword [esp + 0x20], eax
jmp 0x100ce3b4
mov eax, dword [esp + 0x20]
test al, 0x20
jne 0x10122f13
test byte [esp + 0x28], 0x20
jne 0x10122f13
mov eax, dword [esp + 0xec]
and eax, 3
cmp al, 3
jne 0x100ce3c2
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov dword [eax], 0
jmp 0x10040084
cmp dword [esi], 0
je 0x10040084
mov eax, dword [ebx + 0x70]
cmp dword [eax + 0xd0], 1
jl 0x100ce3f6
test dword [0x102390b4], 0x800
jne 0x100ce3f6
mov eax, dword [esp + 0xdc]
cmp eax, ecx
mov ecx, ebx
jb 0x10122f6e
dec eax
push eax
call fcn.101bb3d3
mov ebp, eax
mov dword [esp + 0x18], ebp
jmp 0x100692c0
push eax
call fcn.101bb3d3
mov ebp, eax
mov dword [esp + 0x18], eax
jmp 0x100692c0
mov eax, dword [esp + 0x6c]
mov dword [eax], 1
jmp 0x1004004e
push dword [esp + 0x80]
mov ecx, ebx
push 2
call fcn.1003fe11
mov dword [esi], 1
xor edi, edi
jmp 0x1004005e
cmp dword [esp + 0x50], 0
je 0x1012302f
mov ebp, dword [esp + 0x1c]
cmp ebp, 0xffffffff
je 0x1012302f
lea eax, [esp + 0x58]
push eax
push dword [esp + 0xe0]
lea ecx, [ebx + 0x40]
call fcn.10041d7e
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov ecx, dword [ebx + 0x80]
add esi, dword [esp + 0x78]
cmp ebp, dword [ecx + 4]
jbe 0x10122fe8
xor eax, eax
jmp 0x10122fec
mov eax, dword [ecx]
add eax, ebp
mov al, byte [eax]
and al, 7
cmp al, 2
je 0x10123012
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
call fcn.100d7c73
mov dword [esp + 0x18], eax
test eax, eax
js 0x1004008c
mov ebp, dword [esp + 0x1c]
jmp 0x10123016
mov dword [esp + 0x1c], ebp
push dword [esp + 0x88]
mov dword [esi + 2], ebp
push dword [esp + 0x20]
push dword [ebx + 0x80]
call fcn.1015692e
cmp dword [esp + 0x54], 0
je 0x1004006c
mov ebp, dword [esp + 0x38]
test ebp, ebp
jne 0x1012304d
cmp dword [esp + 0x2c], 1
jne 0x1004006c
lea eax, [esp + 0x58]
push eax
push dword [esp + 0xe0]
lea ecx, [ebx + 0x40]
call fcn.10041d7e
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x68]
test ebp, ebp
je 0x101230ce
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx]
mov ebp, dword [esp + 0x14]
add eax, 6
cmp eax, dword [esp + 0xe8]
jbe 0x1012309d
push eax
push dword [ebp]
call fcn.1000e4b3
mov dword [ebp], eax
test eax, eax
jne 0x1012309d
mov eax, 0x8007000e
jmp 0x1004008c
mov ax, word [esi]
mov ecx, dword [ebp]
add ecx, dword [ebx]
mov edx, 0xfc97
and ax, dx
mov edx, 0x97
or ax, dx
mov word [ecx], ax
mov eax, 0x2000
or word [esi], ax
mov eax, dword [esi + 2]
mov dword [ecx + 2], eax
add dword [ebx], 6
jmp 0x1004006c
mov ebp, dword [ebx + 0x80]
mov eax, dword [esp + 0x24]
cmp eax, dword [ebp + 4]
jbe 0x101230e1
xor esi, esi
jmp 0x101230e6
mov esi, dword [ebp]
add esi, eax
lea ecx, [esi + 8]
call fcn.1008624f
test eax, eax
je 0x10123147
mov edx, dword [esp + 0x34]
cmp edx, dword [ebp + 4]
jbe 0x101230ff
xor ecx, ecx
jmp 0x10123104
mov ecx, dword [ebp]
add ecx, edx
mov al, byte [esi + 0x3d]
and al, 6
cmp al, 2
jne 0x10123132
mov al, byte [ecx + 0x3d]
and al, 6
cmp al, 2
je 0x10123132
mov esi, dword [esp + 0x24]
push esi
push edx
mov ecx, ebp
call fcn.10201d7a
push esi
push eax
push dword [ebx + 0x80]
call fcn.1015692e
jmp 0x1012314b
mov esi, dword [esp + 0x24]
push esi
mov eax, edx
push eax
push dword [ebx + 0x80]
call fcn.1015692e
jmp 0x1012314b
mov esi, dword [esp + 0x24]
mov ebp, dword [ebx + 0x80]
cmp esi, dword [ebp + 4]
jbe 0x10123160
mov dword [esp + 0x14], 0
jmp 0x10123169
mov eax, dword [ebp]
add eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [ebp + 4]
jbe 0x10123176
xor ebp, ebp
jmp 0x1012317b
mov ebp, dword [ebp]
add ebp, eax
mov ecx, ebp
call fcn.100dd101
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.100dd101
cmp eax, esi
jne 0x101231ab
mov ecx, ebp
call fcn.1007b724
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.1007b724
cmp eax, esi
je 0x1004006c
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 0x24]
mov ecx, ebp
call fcn.1007b724
mov ecx, dword [esp + 0x14]
push eax
call fcn.1007b724
push eax
mov ecx, ebp
call fcn.100dd101
mov ecx, dword [esp + 0x1c]
push eax
call fcn.100dd101
push eax
push dword [ebx + 0x90]
push esi
call fcn.101bb766
mov ebp, eax
test ebp, ebp
js 0x1004008a
jmp 0x10040070