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

Disassembly:
sub esp, 0x74
mov eax, dword [0x100a801c]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, ebp
shl eax, 4
mov dword [esp + 0x18], ecx
add eax, 0x1009afb0
mov cl, byte [ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x8c]
push edi
test cl, cl
je 0x1003d3ab
nop
lea eax, [ebx + 1]
cmp cl, 0x25
jne 0x1003d39e
cmp byte [eax], cl
jne 0x1003d3ab
cmp cl, cl
cmovne eax, ebx
mov cl, byte [eax + 1]
lea ebx, [eax + 1]
test cl, cl
jne 0x1003d390
cmp byte [ebx], 0x25
jne 0x1003d3f2
mov ecx, ebx
call fcn.1003d1c0
cmp byte [eax], 0
je 0x1003d3f9
sub eax, ebx
mov edi, 0x20
inc eax
cmp eax, edi
cmovb edi, eax
cmp edi, 1
jb 0x1003d3e7
jbe 0x1003d3e2
lea eax, [edi - 1]
push eax
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.10056d10
add esp, 0xc
mov byte [esp + edi + 0x5b], 0
cmp byte [esp + 0x5c], 0
lea ebx, [esp + 0x5c]
jne 0x1003d3f9
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
push ebx
push esi
push ebp
mov edx, 0x20
lea ecx, [esp + 0x48]
call fcn.1003c600
add esp, 0xc
lea edi, [esp + 0x3c]
mov al, byte [edi]
cmp al, 0x20
je 0x1003d41b
cmp al, 9
jne 0x1003d41e
inc edi
jmp 0x1003d411
mov edx, edi
test al, al
je 0x1003d440
inc edi
cmp byte [edi], 0
jne 0x1003d424
cmp edi, edx
jbe 0x1003d440
nop
mov al, byte [edi - 1]
cmp al, 0x20
je 0x1003d43b
cmp al, 9
jne 0x1003d440
dec edi
cmp edi, edx
ja 0x1003d430
lea eax, [esp + 0x3c]
sub edi, edx
cmp edx, eax
je 0x1003d455
push edi
push edx
push eax
call fcn.1004c810
add esp, 0xc
mov byte [esp + edi + 0x3c], 0
cmp ebp, 8
je 0x1003d493
cmp ebp, 9
je 0x1003d493
cmp byte [ebx], 0
je 0x1003d48c
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d470
sub ecx, edx
mov al, byte [ecx + ebx - 1]
cmp al, 0x78
je 0x1003d485
cmp al, 0x58
jne 0x1003d48c
mov edi, 2
jmp 0x1003d498
mov edi, 1
jmp 0x1003d498
mov edi, 0x20000
mov ebp, dword [0x100a9f28]
mov byte [esp + 0x17], 0
mov eax, dword [ebp + 0x59c0]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x1c]
je 0x1003d4bc
xor edx, edx
xor ecx, ecx
call fcn.10015880
mov eax, dword [esp + 0x20]
or edi, 0x18000010
push 0
push 0
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0x3e60]
mov dword [eax + 0xf0], ecx
mov dword [eax + 0xf4], edx
xor edx, edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4c]
push 0x20
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003f730
mov ecx, dword [esp + 0x34]
add esp, 0x18
cmp dword [esp + 0x30], ecx
je 0x1003d535
mov ecx, dword [ebp + 0x3eac]
mov dword [ebp + 0x59c0], ecx
test al, al
je 0x1003d824
mov eax, dword [esp + 0x28]
mov ebp, dword [eax]
lea eax, [esp + 0x34]
push ebp
push esi
push eax
call fcn.1004c810
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x48]
add esp, 0xc
push ebx
push esi
call fcn.1003c700
mov ebx, dword [esp + 0xa0]
add esp, 8
mov edi, dword [esp + 0x9c]
test ebx, ebx
jne 0x1003d580
test edi, edi
je case.default.0x1003d5aa
jmp 0x1003d59d
test edi, edi
je 0x1003d59d
mov ecx, dword [esp + 0x18]
mov edx, ebx
push edi
call fcn.1003c920
add esp, 4
test eax, eax
jle 0x1003d59d
mov eax, ebx
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja case.default.0x1003d5aa
jmp dword [eax*4 + 0x1003d83c]
test ebx, ebx
je 0x1003d5c2
mov al, byte [ebx]
cmp byte [esi], al
jge 0x1003d5c2
mov byte [esi], al
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov al, byte [edi]
cmp byte [esi], al
jle case.default.0x1003d5aa
mov byte [esi], al
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d5ec
mov al, byte [ebx]
cmp byte [esi], al
jae 0x1003d5ec
mov byte [esi], al
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov al, byte [edi]
cmp byte [esi], al
jbe case.default.0x1003d5aa
mov byte [esi], al
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d619
movzx eax, word [ebx]
cmp word [esi], ax
jge 0x1003d619
mov word [esi], ax
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
movzx eax, word [edi]
cmp word [esi], ax
jle case.default.0x1003d5aa
mov word [esi], ax
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d649
movzx eax, word [ebx]
cmp word [esi], ax
jae 0x1003d649
mov word [esi], ax
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
movzx eax, word [edi]
cmp word [esi], ax
jbe case.default.0x1003d5aa
mov word [esi], ax
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d676
mov eax, dword [ebx]
cmp dword [esi], eax
jge 0x1003d676
mov dword [esi], eax
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov eax, dword [edi]
cmp dword [esi], eax
jle case.default.0x1003d5aa
mov dword [esi], eax
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d6a0
mov eax, dword [ebx]
cmp dword [esi], eax
jae 0x1003d6a0
mov dword [esi], eax
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov eax, dword [edi]
cmp dword [esi], eax
jbe case.default.0x1003d5aa
mov dword [esi], eax
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d6d7
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
jg 0x1003d6d7
jl 0x1003d6f7
cmp dword [esi], eax
jae 0x1003d6d7
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jl case.default.0x1003d5aa
jg 0x1003d6f7
cmp dword [esi], eax
jbe case.default.0x1003d5aa
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d71c
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
ja 0x1003d71c
jb 0x1003d6f7
cmp dword [esi], eax
jae 0x1003d71c
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jb case.default.0x1003d5aa
ja 0x1003d6f7
cmp dword [esi], eax
jbe case.default.0x1003d5aa
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d74a
movss xmm0, dword [ebx]
comiss xmm0, dword [esi]
jbe 0x1003d74a
movss dword [esi], xmm0
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
movss xmm1, dword [edi]
movss xmm0, dword [esi]
comiss xmm0, xmm1
jbe case.default.0x1003d5aa
movss dword [esi], xmm1
jmp case.default.0x1003d5aa
test ebx, ebx
je 0x1003d775
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [esi]
jbe 0x1003d775
movsd qword [esi], xmm0
jmp case.default.0x1003d5aa
test edi, edi
je case.default.0x1003d5aa
movsd xmm1, qword [edi]
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe case.default.0x1003d5aa
movsd qword [esi], xmm1
lea ecx, [esp + 0x34]
sub ebp, 4
jb 0x1003d7a5
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1003d7aa
add ecx, 4
add esi, 4
sub ebp, 4
jae 0x1003d794
cmp ebp, 0xfffffffc
je 0x1003d7db
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1003d7d7
cmp ebp, 0xfffffffd
je 0x1003d7db
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1003d7d7
cmp ebp, 0xfffffffe
je 0x1003d7db
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1003d7d7
cmp ebp, 0xffffffff
je 0x1003d7db
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x1003d7db
mov al, 1
jmp 0x1003d7dd
xor al, al
test al, al
je 0x1003d828
mov ecx, dword [0x100a9f28]
cmp word [ecx + 0x5a3a], 0
jg 0x1003d828
mov edx, dword [ecx + 0x3eac]
cmp edx, dword [esp + 0x1c]
je 0x1003d801
test edx, edx
jne 0x1003d80a
mov word [ecx + 0x3ebc], 0x101
or dword [ecx + 0x46e0], 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1004ad35
add esp, 0x74
ret
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004ad35
add esp, 0x74
ret