Function at 0x413d00
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.0040f050
test eax, eax
jne 0x413d5c
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.0x413d3d.4
movzx eax, byte [eax + 0x4140b8]
jmp dword [eax*4 + 0x414084]
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 0x413dd7
lea ebx, [eax*4]
mov eax, dword [esi + 0x170]
cmp dword [ebx + eax], edx
jne case.0x413d3d.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.0x413d3d.4
mov eax, dword [esi + 0xec]
cmp byte [edx + eax], 0
je case.0x413d3d.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.0x413d3d.4
mov eax, dword [esi + 0xa4]
cmp byte [edx + eax], 0
je case.0x413d3d.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.0x413d3d.4
mov eax, dword [esi + 0xbc]
cmp byte [edx + eax], 0
je case.0x413d3d.4
mov eax, dword [esi + 0xc8]
jmp 0x413e5c
cmp edx, dword [esi + 0xd8]
jae case.0x413d3d.4
mov eax, dword [esi + 0xd4]
cmp byte [edx + eax], 0
je case.0x413d3d.4
mov eax, dword [esi + 0xe0]
jmp 0x413e5c
cmp edx, dword [esi + 0x108]
jae case.0x413d3d.4
mov eax, dword [esi + 0x104]
cmp byte [edx + eax], 0
je case.0x413d3d.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.0x413d3d.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 0x414034
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.00414760
mov dword [esp + 0x18], eax
test edx, edx
ja 0x41407e
jb 0x413f77
cmp eax, 0x7fffffff
ja 0x41407e
test eax, eax
je 0x414034
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x38]
jae 0x414079
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 0x413ff4
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 0x413fd0
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 0x414006
test ebx, ebx
je 0x414061
test byte [esp + 0x13], 0x20
je 0x414029
lea ecx, [esp + 0x34]
call fcn.00414760
test edx, edx
ja 0x41407e
jb 0x414023
cmp eax, 0x7fffffff
ja 0x41407e
mov ecx, dword [esp + 0x3c]
add ecx, eax
sub dword [esp + 0x18], 1
jne 0x413f83
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 0x414034
mov eax, dword [esi + 0x11c]
cmp byte [edx + eax], 0
je 0x414034
or eax, 0xffffffff
jmp 0x414036
push edi
push edx
lea ecx, [esi + 0x40]
call fcn.00415140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00414560
call fcn.00414570
nop
inc ax
inc ecx
add byte [ebp + edi + 0x41], al
add byte [ebp + 0x3d], ah
inc ecx
add byte [ebx - 0x3affbec3], al
inc ecx
add byte [edx], bh
inc ecx
add byte [ebp + 0x3e], bh
inc ecx
add byte [ecx + 0x2300413e], ah
aas
inc ecx
add byte [eax], al
aas
inc ecx
add byte [ebp + 0x40], cl
inc ecx
add al, bh
cmp eax, 0x3d5a0041
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