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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x4755
mov byte [esp + 0x8a], 0xff
mov bl, byte [esp + 0x8b]
mov dword [esp + 0x84], 0x18c0
mov bh, byte [esp + 0x8a]
mov dword [esp + 0x38], eax
mov al, 0x92
sub al, bh
mov byte [esp + 0x43], al
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov eax, esi
xor eax, 0x72d3
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], eax
xor eax, 0x63ff
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
add eax, 0x82e
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x80], edx
mov ecx, esi
not ecx
mov edx, edi
not edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x84]
mov edx, 0x18c4
sub edx, ecx
mov ecx, esi
and ecx, 0x3884
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0
xor ecx, ecx
mov dword [esp + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
div ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
xor ecx, 0x18c4
mov edx, dword [esp + 0x28]
div ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
add eax, 0x2b3b
adc ecx, 0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
sub eax, ecx
setb bh
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x20], eax
setb al
mov byte [esp + 0x1f], bl
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov byte [esp + 0xb], al
mov byte [esp + 0xa], bh
je 0x418d04
mov al, byte [esp + 0xb]
mov byte [esp + 0xa], al
mov al, byte [esp + 0xa]
test al, al
jne 0x418e17
jmp 0x418d12
mov eax, dword [esp + 0x10]
cmp eax, 0
je 0x418d83
cmp dword [esp + 0x74], 0
je 0x418d83
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x84]
add eax, 0x685
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x70], edx
cmp ecx, eax
jbe 0x418de2
mov eax, 0x4473
sub eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x5c]
je 0x418f14
mov al, byte [esp + 0x1f]
or al, al
mov byte [esp + 0x8b], al
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
or edx, edx
mov dword [esp + 0x8c], edx
cmp ecx, 0
jne 0x418d90
mov dword [esp + 0x7c], 0
jmp 0x418f1f
jmp 0x418d92
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov cl, byte [esp + 0x1f]
sub cl, 0x31
mov eax, dword [esp + 0x84]
add eax, 0xffffe73f
mov byte [esp + 0x8b], cl
mov cl, byte [esp + 0x43]
mov edx, dword [esp + 0x44]
mov ch, byte [esp + 0x8a]
xor ch, 0x89
add edx, eax
mov dword [esp + 0x58], edx
cmp cl, ch
jbe 0x418de2
mov eax, dword [esp + 0x84]
xor eax, 0x18c0
cmp dword [esp + 0x44], eax
je 0x418e17
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov dl, byte [esp + 0x1f]
add dl, 0xed
mov eax, dword [esp + 0x74]
mov byte [esp + 0x8b], dl
add eax, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x3c], eax
jmp 0x418d92
jmp 0x418e19
mov eax, 0x18c0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x30]
or esi, 0x31d1
sub eax, ecx
add edx, 0xffffe73f
mov dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x78]
mov esi, ecx
add esi, edx
mov dword [esp + 0x78], esi
cmp ecx, eax
je 0x418f14
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
xor eax, 0xf05
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x18]
add edx, 0x3fac
mov esi, dword [esp + 0x14]
adc esi, 0
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edx
sub eax, 0x7e05
seta bl
test ecx, ecx
setne bh
mov byte [esp + 9], bh
mov dword [esp + 4], eax
mov byte [esp + 3], bl
je 0x418eb6
mov al, byte [esp + 9]
mov byte [esp + 3], al
mov al, byte [esp + 3]
mov dword [esp + 0x8c], 0x122
test al, al
jne 0x418f1f
jmp 0x418ecb
mov ax, 0x3a89
sub ax, word [esp + 0x9e]
mov word [esp + 0x9e], ax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
mov bl, byte [edx]
mov byte [ecx], bl
mov ecx, dword [esp + 0x74]
add ecx, 1
mov dword [esp + 0x74], ecx
mov bl, byte [esp + 0x1f]
add bl, 3
mov ecx, dword [esp + 0x3c]
add ecx, 1
mov byte [esp + 0x8b], bl
mov dword [esp + 0x3c], ecx
jmp 0x418e19
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret