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

Disassembly:
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1a0c], ecx
mov edx, dword [ebp - 0x1a0c]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1a10], eax
mov ecx, dword [ebp - 0x1a10]
mov dword [ebp - 0x167c], ecx
push edi
add edi, 0x2a21
pop edi
push eax
push ebx
add esp, 4
sub eax, 0x13c86
pop eax
push eax
push ebx
add esp, 4
add eax, 0x1613d
xor eax, 0xe599
and eax, 0x6994
add eax, 0x15da6
pop eax
cmp dword [ebp - 0x167c], 0
jne 0x4098db
mov dword [ebp - 0x2fc], 0
jmp 0x409b82
mov edx, dword [ebp - 0x167c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xce0], ecx
push edi
push edi
add esp, 4
and edi, 0x164f1
add edi, 0xb54
pop edi
push edx
jmp 0x409906
pop edx
push edi
push eax
add esp, 4
xor edi, 0x1cc6
pop edi
push ebx
push eax
add esp, 4
xor ebx, 0xf00c
pop ebx
cmp dword [ebp - 0xce0], 0
jne 0x409937
mov dword [ebp - 0x2fc], 0
jmp 0x409b82
mov edx, dword [ebp - 0xce0]
mov dword [ebp - 0x51c], edx
push edx
push edx
add esp, 4
or edx, 0x4eca
sub edx, 0x4142
xor edx, 0xc8fb
add byte [eax], al
pop edx
push eax
xor eax, 0xd7ba
jmp 0x409967
and eax, 0x18048
jmp 0x409974
pop eax
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 esi
xor esi, 0x910c
and esi, 0xbcde
pop esi
push ecx
jmp 0x4099b6
pop ecx
push eax
push edx
add esp, 4
add eax, 0xa63e
pop eax
push ebx
push ebx
add esp, 4
jmp 0x4099d0
pop ebx
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 edi
push edi
add esp, 4
xor edi, 0xcc19
pop edi
push esi
and esi, 0x17d26
sub esi, 0x10368
xor esi, 0x57a2
sub esi, 0x31dd
pop esi
push ecx
push edx
add esp, 4
or ecx, 0x9ad9
pop ecx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x409a77
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x409ad1
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x40999f
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x40999f
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x409abb
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x409ac5
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x409b1a
push ecx
push edi
add esp, 4
and ecx, 0x5bc5
or ecx, 0x9162
pop ecx
push esi
or esi, 0x1563e
and esi, 0x14c70
xor esi, 0xb7
pop esi
push edx
push ebx
add esp, 4
sub edx, 0x7d65
pop edx
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x409b82
push edi
push ebx
add esp, 4
sub edi, 0xc444
and edi, 0x86bc
or edi, 0x4118
pop edi
push edx
xor edx, 0xd4f9
add edx, 0x23fc
pop edx
push eax
push edi
add esp, 4
and eax, 0xf78e
pop eax
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 0x409b78
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x409943
mov dword [ebp - 0x2fc], 0
push edi
or edi, 0x15939
add edi, 0xe0f1
pop edi
push esi
or esi, 0xd76b
pop esi
push edi
and edi, 0xf50d
add edi, 0xb854
pop edi
push eax
and eax, 0xab2e
sub eax, 0x15811
pop eax
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push ebx
push ebx
add esp, 4
or ebx, 0x157dd
sub ebx, 0x15a12
pop ebx
push edi
add edi, 0x3cd6
or edi, 0x1bc2
pop edi
push edx
push eax
add esp, 4
and edx, 0xd347
and edx, 0x8307
pop edx
mov dword [ebp - 0x794], 0
invalid