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

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
mov ebx, dword [esi]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0x13], 0
cmp eax, 1
jbe 0x1003ede1
movzx ecx, word [ebx + 0x122]
cmp eax, ecx
jbe 0x1003ede1
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x88
ret
push edi
mov edi, dword [esp + 0xa0]
cmp edi, dword [ebx + 0x10]
jb 0x1003edfe
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0x88
ret
test byte [esi + 0x10], 1
mov dword [esi + 0x14], edi
jne 0x1003ee16
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], edx
jmp 0x1003ee1f
mov eax, 0x10000
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x80]
cmp dword [ecx + 0x30], 0
mov dword [esp + 0x1c], eax
je 0x1003eeb9
mov edx, ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
lea edx, [esp + 0x40]
push edx
push edi
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x1003f538
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x23], 1
mov dword [esi + 0x1c], ecx
call fcn.10005e40
lea ecx, [esp + 0x7c]
mov dword [esi + 0x18], ecx
jmp 0x1003eec8
lea eax, [esi + 0x1c]
push eax
push edi
push ebx
call fcn.10036e20
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0x1c]
xor ecx, ecx
add esp, 0xc
cmp edx, ecx
jle 0x1003ef5d
cmp dword [esi + 0x54], ecx
jne 0x1003eef0
mov eax, dword [ebx + 0x80]
cmp dword [eax + 0x30], ecx
jne 0x1003eef0
lea edi, [ecx + 8]
jmp 0x1003f513
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebx + 0x200]
add eax, ecx
push eax
push edi
push esi
call edx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1003f513
mov eax, dword [ebx + 0x208]
push esi
mov byte [esp + 0x1a], 1
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003f501
mov ebx, dword [esp + 0xa0]
call fcn.100372a0
mov edi, eax
test edi, edi
jne 0x1003f4fd
cmp byte [esp + 0xa8], al
jne 0x1003f4fd
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0xa0]
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
je 0x1003f37f
cmp word [esi + 0x20], cx
je 0x1003f37f
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
add edx, eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x4c], edx
mov edx, dword [esi + 0x30]
add eax, edx
mov dword [esi + 0xbc], eax
sub eax, dword [esi + 0xb4]
push edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], eax
call fcn.10037340
movzx eax, word [esi + 0x20]
add esp, 4
test ax, ax
jle 0x1003f002
mov eax, dword [ebx + 0x20c]
push esi
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003f4e8
mov ecx, dword [ebx + 0x204]
push esi
call ecx
push esi
call fcn.1003e8f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003f513
push ebp
call fcn.10004be0
add esp, 4
jmp 0x1003f513
cmp ax, 0xffff
jne 0x1003f375
movsx edx, word [ebp + 0x16]
movsx eax, word [ebp + 0x14]
mov ecx, dword [ebx + 0x210]
push esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
call ecx
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003f4e8
mov edx, dword [esi + 0xa8]
mov eax, dword [ebx + 0x204]
push esi
mov dword [esp + 0x38], edx
call eax
add esp, 4
cmp byte [ebx + 0x2a0], 0
je 0x1003f113
mov edx, dword [ebp + 0x54]
mov ecx, dword [ebx + 0x64]
add edx, 4
push edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xa4]
push eax
push ecx
mov eax, ebx
call fcn.1003da80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1003f513
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x54]
shl ecx, 5
add ecx, dword [ebp + 0x58]
mov dword [esp + 0x28], edx
test edx, edx
mov edx, dword [esp + 0x18]
jle 0x1003f0c2
add ecx, 8
nop
test byte [ecx - 4], 2
je 0x1003f0b4
movsx ebx, word [edx + eax*8]
add dword [ecx], ebx
movsx ebx, word [edx + eax*8 + 4]
add dword [ecx + 4], ebx
inc eax
add ecx, 0x20
cmp eax, dword [esp + 0x28]
jl 0x1003f0a0
mov ebx, dword [esp + 0x20]
mov ecx, dword [edx + eax*8]
add dword [esi + 0x44], ecx
mov ecx, dword [edx + eax*8 + 4]
add dword [esi + 0x48], ecx
mov ecx, dword [edx + eax*8 + 8]
add dword [esi + 0x4c], ecx
mov ecx, dword [edx + eax*8 + 0xc]
add dword [esi + 0x50], ecx
mov ecx, dword [edx + eax*8 + 0x10]
add dword [esi + 0xb8], ecx
mov ecx, dword [edx + eax*8 + 0x14]
add dword [esi + 0xbc], ecx
mov ecx, dword [edx + eax*8 + 0x18]
add dword [esi + 0xc0], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + eax*8 + 0x1c]
add dword [esi + 0xc4], eax
push edx
push ecx
call fcn.10006630
add esp, 8
test byte [esi + 0x10], 1
jne 0x1003f19e
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
push edx
push eax
call fcn.10036ba0
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x4c]
push ecx
push edx
mov dword [esi + 0x44], eax
call fcn.10036ba0
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call fcn.10036ba0
mov edx, dword [esp + 0x34]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
push edx
push eax
call fcn.10036ba0
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0xc0]
push ecx
push edx
mov dword [esi + 0xbc], eax
call fcn.10036ba0
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x44]
push eax
push ecx
call fcn.10036ba0
add esp, 0x30
mov dword [esi + 0xc4], eax
test dword [esi + 0x10], 0x400
push ebp
je 0x1003f1bf
call fcn.10004be0
mov edx, dword [esi + 8]
add esp, 4
mov dword [edx + 0x48], 0x636f6d70
jmp 0x1003f513
mov ecx, dword [ebp + 0x54]
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
call fcn.10004be0
add esp, 4
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jbe 0x1003f31e
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
inc edx
shl eax, 5
mov dword [esp + 0x4c], edx
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov eax, dword [ebp + 0x34]
add eax, dword [esp + 0x10]
mov ebx, dword [esi + 0x44]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0xb8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0xc4]
mov dword [esp + 0x68], edx
movsx edx, word [ebp + 0x16]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x4c]
push 0
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1003ed90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1003f50f
mov eax, dword [ebp + 0x34]
add eax, dword [esp + 0x10]
mov ecx, 0x200
mov dword [esp + 0x2c], eax
test word [eax + 4], cx
jne 0x1003f2e2
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x50], edx
mov edx, dword [esp + 0x64]
mov dword [esi + 0xb8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0xbc], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x44], ebx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xc4], edx
movsx edx, word [ebp + 0x16]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
cmp edx, ecx
je 0x1003f302
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
push esi
call fcn.100377c0
add esp, 0x10
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], 0x20
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x18]
jb 0x1003f220
mov ebx, dword [esp + 0x20]
test byte [esi + 0x10], 2
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0xa8], ecx
jne 0x1003f513
mov eax, dword [esp + 0x2c]
mov edx, 0x100
test word [eax + 4], dx
je 0x1003f513
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
jbe 0x1003f513
mov ecx, dword [esp + 0x38]
push ecx
push eax
push esi
call fcn.1003eb40
add esp, 0xc
jmp 0x1003f513
mov edi, 0x14
jmp 0x1003f4e8
mov ebx, edi
mov dword [esi + 0x24], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
call fcn.100372a0
mov edi, eax
test edi, edi
jne 0x1003f4e4
cmp byte [esp + 0xa8], al
jne 0x1003f4e4
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x30]
mov edi, dword [esp + 0xa0]
add edx, eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0xb0]
add eax, ecx
xor ebx, ebx
mov dword [esi + 0xbc], eax
sub eax, dword [esi + 0xb4]
push edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], eax
call fcn.10037340
mov eax, dword [esi]
add esp, 4
cmp byte [eax + 0x2a0], bl
je 0x1003f46b
mov ebp, dword [eax + 0x64]
push 4
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.1003da80
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x1003f4e4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
add dword [esi + 0x44], ecx
mov edx, dword [eax + 4]
add dword [esi + 0x48], edx
mov ecx, dword [eax + 8]
add dword [esi + 0x4c], ecx
mov edx, dword [eax + 0xc]
add dword [esi + 0x50], edx
mov ecx, dword [eax + 0x10]
add dword [esi + 0xb8], ecx
mov edx, dword [eax + 0x14]
add dword [esi + 0xbc], edx
mov ecx, dword [eax + 0x18]
add dword [esi + 0xc0], ecx
mov edx, dword [eax + 0x1c]
add dword [esi + 0xc4], edx
push eax
push ebp
call fcn.10006630
add esp, 8
test byte [esi + 0x10], 1
jne 0x1003f4e2
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
push edi
push eax
call fcn.10036ba0
mov ecx, dword [esi + 0x4c]
push edi
push ecx
mov dword [esi + 0x44], eax
call fcn.10036ba0
mov edx, dword [esi + 0xb8]
push edi
push edx
mov dword [esi + 0x4c], eax
call fcn.10036ba0
mov ebp, dword [esp + 0x34]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0xbc]
push ebp
push eax
call fcn.10036ba0
mov ecx, dword [esi + 0xc0]
push edi
push ecx
mov dword [esi + 0xbc], eax
call fcn.10036ba0
mov edx, dword [esi + 0xc4]
push ebp
push edx
mov dword [esi + 0xc0], eax
call fcn.10036ba0
add esp, 0x30
mov dword [esi + 0xc4], eax
xor edi, edi
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x16], 0
je 0x1003f513
mov eax, dword [ebx + 0x204]
push esi
call eax
add esp, 4
jmp 0x1003f513
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x204]
push esi
call eax
add esp, 4
jmp 0x1003f513
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x17], 0
je 0x1003f536
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx + 0x30]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edx + 4]
push eax
call ecx
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret