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

Disassembly:
xor edx, 0x6ef5
pop edx
push eax
push ecx
add esp, 4
add eax, 0x271c
pop eax
cmp dword [ebp - 0x167c], 0
jne 0x41385b
mov dword [ebp - 0x2fc], 0
jmp 0x413b02
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push eax
sub eax, 0x17122
pop eax
push edx
xor edx, 0xa0b3
add edx, 0x149fb
call 0x413892
add byte [edx], bh
dec edx
inc ebp
inc esi
dec ebx
cmp dword [esi + 0x4d], eax
inc eax
cmp eax, 0xeb04c483
pop es
inc edi
xor edi, dword [ecx]
cmp esi, dword ds:[ebx]
cmp al, 0x5a
cmp dword [ebp - 0xce0], 0
jne 0x4138b7
mov dword [ebp - 0x2fc], 0
jmp 0x413b02
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push ecx
or ecx, 0x15cc8
sub ecx, 0x11c61
call 0x4138dd
add byte [eax], bh
inc esi
xor eax, 0x42434348
add esp, 4
pop ecx
push ecx
sub ecx, 0x16d77
and ecx, 0x47e7
sub ecx, 0xa5f7
pop ecx
lea eax, [ebp - 0x1738]
mov dword [ebp - 0xcdc], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcd8], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push ebx
push ecx
add esp, 4
sub ebx, 0x4b56
pop ebx
push edi
or edi, 0x84fb
xor edi, 0x16c2e
and edi, 0x1643c
call 0x41394d
add byte [0x394d3635], bh
cmp al, 0x4a
dec ebx
inc eax
add esp, 4
pop edi
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
push ebx
push edi
add esp, 4
add ebx, 0xf701
test dword [eax], 0xfeb8100
jne 0x4139b9
invalid
xor ebx, 0x652b
add ebx, 0xfc2b
pop ebx
push esi
or esi, 0x85d9
sub esi, 0x10a91
or esi, 0xbc0b
pop esi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x4139f7
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x413a51
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x41391f
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x41391f
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x413a3b
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x413a45
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x413a9a
push ebx
push edi
add esp, 4
xor ebx, 0x15024
pop ebx
push edx
push esi
add esp, 4
add edx, 0x2821
add byte [edx + 0x50], bl
xor eax, 0x2d0d
add eax, 0xe11f
add eax, 0x7d38
jmp 0x413a8b
pop eax
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x413b02
push eax
jmp 0x413aa2
and eax, 0x5eb5
jmp 0x413aad
jmp 0x413ab2
pop eax
push esi
and esi, 0x510a
xor esi, 0xb302
pop esi
push ebx
jmp 0x413acb
pop ebx
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x413af8
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x4138c3
mov dword [ebp - 0x2fc], 0
push edx
sub edx, 0xff33
and edx, 0x1727
sub edx, 0xd1c3
ljmp 0x8e8
add byte [eax], al
add byte [eax], al
xor al, byte [ebp + 0x4a]
dec esp
aaa
dec ecx
dec ecx
add esp, 4
pop edx
push edi
or edi, 0x12fb4
and edi, 0xca4d
pop edi
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
cld
invalid
call dword [esi - 0x18]
or dword [eax], eax
add byte [eax], al
add byte [edx + 0x4c], cl
aaa
cmp byte [ecx + eax*2 + 0x4d], al
xor eax, 0x5e04c483
push ecx
call 0x413b65
add byte [esi], dh
dec edx
dec esp