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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.0040ef70
test eax, eax
jne 0x413c7c
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
shl ecx, 4
add eax, 0xfffffffd
add ecx, dword [esi + 0x98]
cmp eax, 0x1a
ja case.0x413c5d.4
movzx eax, byte [eax + 0x413fd8]
jmp dword [eax*4 + 0x413fa4]
mov al, byte [ecx + 0xd]
mov ecx, 0xb
movzx eax, al
neg eax
mov word [edi], cx
sbb eax, eax
mov word [edi + 8], ax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx]
mov edx, 0x15
mov ecx, dword [ecx + 4]
mov dword [edi + 8], eax
xor eax, eax
mov word [edi], dx
mov dword [edi + 0xc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x174]
mov eax, dword [eax + edx*4]
cmp eax, 0xffffffff
je 0x413cf7
lea ebx, [eax*4]
mov eax, dword [esi + 0x170]
cmp dword [ebx + eax], edx
jne case.0x413c5d.4
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x48]
mov ecx, dword [eax + ebx + 4]
mov eax, dword [eax + ebx]
mov esi, dword [edx + ecx*8]
sub esi, dword [edx + eax*8]
mov ecx, dword [edx + ecx*8 + 4]
sbb ecx, dword [edx + eax*8 + 4]
mov eax, 0x15
mov word [edi], ax
xor eax, eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x15
mov dword [edi + 8], 0
mov word [edi], ax
xor eax, eax
mov dword [edi + 0xc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edx, dword [esi + 0xf0]
jae case.0x413c5d.4
mov eax, dword [esi + 0xec]
cmp byte [edx + eax], 0
je case.0x413c5d.4
mov eax, dword [esi + 0xf8]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, 0x15
mov dword [edi + 0xc], eax
xor eax, eax
mov word [edi], dx
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edx, dword [esi + 0xa8]
jae case.0x413c5d.4
mov eax, dword [esi + 0xa4]
cmp byte [edx + eax], 0
je case.0x413c5d.4
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi], 0x170040
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edx, dword [esi + 0xc0]
jae case.0x413c5d.4
mov eax, dword [esi + 0xbc]
cmp byte [edx + eax], 0
je case.0x413c5d.4
mov eax, dword [esi + 0xc8]
jmp 0x413d7c
cmp edx, dword [esi + 0xd8]
jae case.0x413c5d.4
mov eax, dword [esi + 0xd4]
cmp byte [edx + eax], 0
je case.0x413c5d.4
mov eax, dword [esi + 0xe0]
jmp 0x413d7c
cmp edx, dword [esi + 0x108]
jae case.0x413c5d.4
mov eax, dword [esi + 0x104]
cmp byte [edx + eax], 0
je case.0x413c5d.4
mov eax, dword [esi + 0x110]
mov ecx, 0x13
mov eax, dword [eax + edx*4]
mov dword [edi + 8], eax
xor eax, eax
mov word [edi], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ecx + 0xe], 0
je case.0x413c5d.4
mov eax, dword [ecx + 8]
mov ecx, 0x13
mov dword [edi + 8], eax
xor eax, eax
mov word [edi], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x174]
mov ecx, dword [eax + edx*4]
cmp ecx, 0xffffffff
je 0x413f54
mov eax, dword [esi + 0x78]
mov dword [esp + 0x3c], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x7c]
add eax, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
call fcn.00414680
mov dword [esp + 0x18], eax
test edx, edx
ja 0x413f9e
jb 0x413e97
cmp eax, 0x7fffffff
ja 0x413f9e
test eax, eax
je 0x413f54
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x38]
jae 0x413f99
mov edx, dword [esp + 0x34]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov al, byte [ecx + edx]
inc ecx
mov byte [esp + 0x13], al
movzx eax, al
and eax, 0xf
mov dword [esp + 0x24], ecx
lea edx, [ecx + edx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
jbe 0x413f14
mov edi, dword [esp + 0x1c]
mov ecx, eax
nop
movzx eax, byte [edi + edx]
inc edi
shld ebx, esi, 8
cdq
shl esi, 8
or ebx, edx
mov edx, dword [esp + 0x20]
or esi, eax
cmp edi, ecx
jb 0x413ef0
mov ecx, dword [esp + 0x24]
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x3c], ecx
cmp esi, 0x6f10701
jne 0x413f26
test ebx, ebx
je 0x413f81
test byte [esp + 0x13], 0x20
je 0x413f49
lea ecx, [esp + 0x34]
call fcn.00414680
test edx, edx
ja 0x413f9e
jb 0x413f43
cmp eax, 0x7fffffff
ja 0x413f9e
mov ecx, dword [esp + 0x3c]
add ecx, eax
sub dword [esp + 0x18], 1
jne 0x413ea3
xor eax, eax
mov ecx, 0xb
mov word [edi + 8], ax
mov word [edi], cx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edx, dword [esi + 0x120]
jae 0x413f54
mov eax, dword [esi + 0x11c]
cmp byte [edx + eax], 0
je 0x413f54
or eax, 0xffffffff
jmp 0x413f56
push edi
push edx
lea ecx, [esi + 0x40]
call fcn.00415060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00414480
call fcn.00414490
nop
xchg byte [edi], bh
inc ecx
add byte [esp + edi + 0x41], ah
add byte [ebp - 0x5cffbec4], al
cmp al, 0x41
add ch, ah
cmp eax, 0x3d5a0041
inc ecx
add byte [ebp - 0x3effbec3], bl
cmp eax, 0x3e430041
inc ecx
add byte [eax], ah
inc ecx
add byte [ebp + 0x3f], ch
inc ecx
add byte [eax], bl
cmp eax, 0x3c7a0041
inc ecx
add byte [eax], al
or al, 0xc
add dword [edx], eax
add eax, dword [eax + 202114822]
or byte [esp + ecx], cl
or al, 9
or al, 10
or al, 12
or al, 12
or al, 12
or al, 11
int3