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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x214
mov eax, dword [esp + 0x234]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
mov ebp, dword [edi]
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
test ebp, ebp
je 0x1003d31f
xor esi, esi
cmp ebp, 1
jne 0x1003d322
cmp dword [edi + 0x14], 0
jne 0x1003d322
mov esi, dword [edi + 0xc]
xor ebp, ebp
sub esi, dword [edi + 0x10]
cmovb esi, ebp
jmp 0x1003d322
mov esi, dword [edi + 0xc]
xor ebp, ebp
sub eax, edx
mov edx, dword [edi + 0x18]
cmovb eax, ebp
test ecx, ecx
cmovne eax, ebp
cmp esi, edx
cmovb edx, esi
or edx, eax
je 0x1003d8c9
mov eax, dword [esp + 0x22c]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
push esi
call dword [ebp + 0x20]
add esp, 4
test al, al
je 0x1003d8df
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 1
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 1
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 1
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 1
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 1
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 1
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 1
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 1
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 1
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 1
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 1
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 1
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 1
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 1
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 1
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 1
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 1
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 1
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 1
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 1
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 1
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 1
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 1
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], 1
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 1
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 1
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 1
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 1
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 1
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 1
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 1
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 1
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 1
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 1
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 1
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], 1
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x200], 1
mov dword [esp + 0x204], 0
mov dword [esp + 0x208], 1
mov dword [esp + 0x20c], 0
mov dword [esp + 0x210], 1
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x14], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete cl
sub eax, esi
seta ch
xor edx, edx
and ch, cl
cmp ch, 1
jne 0x1003d8fc
add esi, dword [ebx]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
mov eax, 1
mov dword [esp + 0x18], esi
mov esi, dword [edi]
mov dword [esp], ebp
cmp esi, 2
jne 0x1003d90c
jmp 0x1003d95f
mov eax, dword [esp + 0x228]
mov byte [eax], 4
mov dword [eax + 4], 0
jmp 0x1003dad8
cmp dword [ebx + 0x14], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
sete dl
sub ecx, eax
seta dh
test dl, dh
je 0x1003d92c
add eax, dword [ebx]
jmp 0x1003da21
lea ecx, [esp + 0x14]
xor eax, eax
mov esi, dword [edi]
mov dword [esp], ebp
cmp esi, 2
je 0x1003d95f
cmp esi, 1
jne 0x1003d95c
cmp dword [edi + 0x14], 0
jne 0x1003d95f
mov edx, dword [edi + 0xc]
mov ebp, ecx
mov ecx, eax
xor eax, eax
sub edx, dword [edi + 0x10]
cmovb edx, eax
mov eax, ecx
mov ecx, ebp
jmp 0x1003d95f
mov eax, dword [edi]
cmp eax, 2
je 0x1003da0a
cmp eax, 1
jne 0x1003da13
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, edx
cmovae eax, edx
cmp dword [edi + 0x14], 0
cmovne eax, edx
sub edx, eax
add eax, dword [edi + 8]
jmp 0x1003da19
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 0x18]
cmp edx, ebp
cmovae edx, ebp
test edx, edx
je 0x1003d999
mov dword [esp + 0xc], ecx
mov edx, 1
cmp esi, 2
mov ecx, eax
je 0x1003d99d
cmp esi, 1
jne 0x1003d9a6
mov esi, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp eax, esi
cmovae eax, esi
cmp dword [edi + 0x14], 0
cmovne eax, esi
sub esi, eax
add eax, dword [edi + 8]
jmp 0x1003d9ac
xor edx, edx
jmp 0x1003d9bc
xor esi, esi
mov eax, 1
jmp 0x1003d9ac
mov eax, dword [edi + 8]
mov esi, dword [edi + 0xc]
cmp esi, ebp
cmovb ebp, esi
mov esi, dword [esp + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], eax
mov eax, ecx
add edx, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 4]
push edx
push eax
push dword [esp + 0x238]
push dword [esp + 0x1c]
push ecx
mov eax, dword [esp + 0x14]
call dword [eax + 0x1c]
add esp, 0x14
movzx edx, byte [esp + 4]
cmp dl, 5
je 0x1003da40
mov esi, dword [esp + 8]
cmp dl, 4
je 0x1003da58
movzx ecx, byte [esp + 7]
mov eax, dword [esp + 0x228]
mov byte [eax + 3], cl
movzx ecx, word [esp + 5]
jmp 0x1003dab3
mov eax, 1
xor edx, edx
jmp 0x1003da19
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x18]
cmp edx, ecx
cmovb ecx, edx
lea edx, [esp + 0x14]
push ecx
push eax
push dword [esp + 0x238]
push esi
push edx
call dword [ebp + 0x10]
add esp, 0x14
movzx edx, byte [esp + 0x14]
cmp dl, 5
jne 0x1003da4f
mov eax, dword [esp + 0x228]
mov byte [eax], 5
jmp 0x1003dad8
mov esi, dword [esp + 0x18]
cmp dl, 4
jne 0x1003da9f
mov dword [esp], esi
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
test esi, esi
setne ah
xor ebp, ebp
sub edx, ecx
cmovb edx, ebp
mov ebp, dword [esp]
setbe al
or al, ah
cmp al, 1
je 0x1003da90
mov eax, dword [esp]
mov ebp, eax
sub ebp, edx
jbe 0x1003dabe
add ecx, edx
adc esi, 0
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], esi
push ebp
push edi
call fcn.10043ee0
add esp, 8
mov ecx, dword [esp]
jmp 0x1003dacb
movzx ecx, byte [esp + 0x17]
mov eax, dword [esp + 0x228]
mov byte [eax + 3], cl
movzx ecx, word [esp + 0x15]
mov word [eax + 1], cx
mov byte [eax], dl
mov dword [eax + 4], esi
jmp 0x1003dad8
add ecx, eax
adc esi, 0
mov dword [ebx + 0x10], ecx
mov ecx, eax
mov dword [ebx + 0x14], esi
mov eax, dword [esp + 0x228]
mov byte [eax], 4
mov dword [eax + 4], ecx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret