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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1005fe78]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x90]
push esi
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x18]
push ecx
push ebx
push dword [ebp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
push 2
push ebx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
call fcn.1003baa0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1003ee2a
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x42
push 0x21
push edi
call fcn.10003e90
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1003ee2a
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push 0x43
push 0x21
push edi
call fcn.1003a530
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x1003ee2a
cmp dword [ebp + 0x18], 2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
jne 0x1003edbc
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push esi
push 0x41
push 0x21
push edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.10003e90
add esp, 0x18
test eax, eax
jne 0x1003ec1d
mov eax, dword [esp + 0x14]
mov ecx, 0x1005dbc4
mov esi, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
sub esi, 4
jb 0x1003ebe1
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ebe6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003ebd0
cmp esi, 0xfffffffc
je 0x1003ec1d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003ec13
cmp esi, 0xfffffffd
je 0x1003ec1d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003ec13
cmp esi, 0xfffffffe
je 0x1003ec1d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003ec13
cmp esi, 0xffffffff
je 0x1003ec1d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1003ec1d
mov esi, 0x2722
jmp 0x1003ee2a
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x45
push 0x21
push edi
call fcn.1003a530
add esp, 0x18
test eax, eax
jne 0x1003ec80
push dword [esp + 0x14]
call fcn.1003f260
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
jne 0x1003ec55
mov esi, 0x2722
jmp 0x1003ee2a
cmp eax, 0xf3
jne 0x1003ec88
push 0x12
push 2
push 0x1005dbd0
push 0
push 0x46
push 0x21
push edi
call fcn.1003a4e0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1003ee2a
jmp 0x1003ec88
mov dword [esp + 0x60], 0xf3
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x47
push 0x21
push edi
call fcn.1003a530
add esp, 0x18
test eax, eax
jne 0x1003ecb4
push dword [esp + 0x14]
call fcn.1003f1b0
add esp, 4
mov dword [esp + 0x64], eax
jmp 0x1003ecb8
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x1003ecc6
mov esi, 0x2722
jmp 0x1003ee2a
lea eax, [esp + 0x4c]
push eax
push 0x7542
push dword [esp + 0x20]
call fcn.1003ba80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003ee2a
push eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x44
push 0x21
push edi
call fcn.1003a530
add esp, 0x18
test eax, eax
jne 0x1003ed21
mov eax, dword [esp + 0x14]
add eax, 0x10
push eax
push 0x7532
push dword [esp + 0x20]
call fcn.1003ba80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003ee2a
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x48
push 0x21
push edi
call fcn.1003a530
add esp, 0x18
test eax, eax
je 0x1003ed88
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
push dword [esp + 0x24]
call fcn.10040210
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1003ee2e
push 2
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
push 0x48
push 0x21
push edi
call fcn.1003a4e0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1003ee2e
lea ebx, [esp + 0x2c]
jmp 0x1003edd8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x20]
call fcn.100403b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003ee2a
lea ebx, [esp + 0x40]
jmp 0x1003edd8
lea eax, [esp + 0x4c]
push eax
push 0x7542
push dword [esp + 0x20]
call fcn.1003ba80
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003ee2a
cmp dword [esp + 0x9c], 0
je 0x1003edee
mov eax, 0x10040690
mov edi, 0x100406e0
jmp 0x1003edf8
mov eax, 0x10040740
mov edi, 0x10040790
push ebx
push 0
push dword [esp + 0x20]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003ee2a
mov ecx, dword [esp + 0x48]
lea eax, [ecx + 0x10]
push eax
mov eax, dword [esp + 0x40]
push dword [ecx + 0xc]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [esp + 0x28]
call edi
add esp, 0x14
mov esi, eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1003ee40
push eax
push ebx
call fcn.10039ff0
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003ee52
push eax
push ebx
call fcn.10039ff0
add esp, 8
push dword [esp + 0x18]
call fcn.1003a3c0
mov ecx, dword [esp + 0x7c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004475d
add esp, 0x6c
ret