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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0xfc
mov esi, dword [esp + 0xac]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x2469383d
mov dword [esp + 0x98], 0x621931ca
mov di, word [esp + 0x9c]
mov byte [esp + 0x67], 6
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb4]
mov dh, byte [esp + 0x67]
cmp dl, dh
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x27], dh
mov dword [esp + 0x20], esi
mov word [esp + 0x1e], di
mov dword [esp + 0x18], ebx
je 0x407424
jmp 0x407158
mov eax, dword [esp + 0x2c]
not eax
mov ecx, dword [esp + 0x18]
not ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x60]
mov dword [esp + 0xac], 0x19732d11
mov bx, word [esp + 0x1e]
mov di, bx
add edi, edi
movzx edx, word [esi + edx*2]
mov word [esp + 0x9c], di
movzx esi, word [esp + 0x46]
sub edx, esi
sete bl
movzx edi, bl
mov dword [esp + 0x74], edi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 0xffffffff
mov dword [esp + 0xb0], 0xb6fb8109
mov bl, byte [esp + 0x27]
add bl, bl
mov byte [esp + 0x9f], bl
cmp esi, 0
mov dword [esp + 0x14], edx
je 0x407424
jmp 0x407419
mov eax, dword [esp + 0x38]
mov cx, word [esp + 0x1e]
imul dx, cx, 0xf831
mov word [esp + 0x9c], dx
cmp eax, 0
jne 0x40727f
jmp 0x4070e0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
add eax, 0x424cb496
mov dword [esp + 0xac], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x9c0f212
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dx, word [esp + 0x1e]
mov word [esp + 0x9c], dx
sub ecx, 0x55fdf236
sbb eax, 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
jb 0x406fe8
jmp 0x406ea8
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
jmp 0x4071d7
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb4], ecx
jmp 0x406fc0
mov eax, dword [esp + 0x48]
add eax, 0x18
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
xor eax, 0x39d4eddc
or eax, ecx
mov dword [esp + 8], eax
je 0x406ea8
jmp 0x407359
mov eax, dword [esp + 0x98]
mov ecx, 0x621931ca
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb4], edx
cmp dword [esp + 0x74], ecx
jne 0x406f63
jmp 0x4072a5
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add ecx, 0x136a8572
mov edx, dword [esp + 0x2c]
adc edx, 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
cmp eax, dword [esp + 0x90]
jne 0x4072d1
jmp 0x40736d
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x4be4e7a4
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
xor edx, edx
mov esi, 0x7ce5df6f
mov edi, dword [esp + 0x18]
sub esi, edi
mov ebx, dword [esp + 0x2c]
sbb edx, ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x8c], edx
xor ecx, 0x64107b23
or ecx, eax
mov dword [esp + 4], ecx
jne 0x407392
jmp 0x406ea8
mov dword [esp + 0x74], 0
mov dword [esp + 0x4c], 0
mov al, byte [esp + 0x27]
mov byte [esp + 0x9f], al
jmp 0x4071d7
call fcn.00406ce0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
mov byte [esp + 0x9f], 0xdf
add eax, 0x14
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jmp 0x407044
mov eax, dword [esp + 0x20]
xor eax, 0xffffffff
mov cx, word [esp + 0x46]
mov dword [esp + 0xac], eax
movzx eax, cx
cmp eax, 0x5a
jle 0x4073a5
jmp 0x406ea8
mov cx, word [esp + 0x1e]
mov ax, cx
not eax
mov dx, ax
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
xor edi, edi
mov ebx, 0x6b09981d
sub ebx, eax
sbb edi, esi
mov word [esp + 0x9c], dx
mov byte [esp + 0x97], 0x17
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x20]
xor ebx, 0xffffffff
mov dword [esp + 0xac], ebx
mov ebx, dword [esp + 0x20]
or ebx, 0x1196adce
mov dword [esp + 0xac], ebx
cmp edi, 0
je 0x407079
jmp 0x407100
mov eax, dword [esp + 0x20]
add eax, 0x885ccfc8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
shr ecx, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x18]
add eax, 0x45416187
mov esi, dword [esp + 0x2c]
adc esi, 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], esi
cmp edx, ecx
jb 0x407248
jmp 0x407011
mov ax, word [esp + 0x1e]
or ax, 0xbe9e
mov word [esp + 0x9c], ax
mov ecx, dword [esp + 0x34]
mov ax, word [esp + 0x1e]
add ax, ax
mov word [esp + 0x9c], ax
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
jmp 0x407044
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x4c]
mov dx, word [eax + ecx*2]
mov word [esp + 0x46], dx
mov eax, dword [esp + 0x20]
and eax, 0x3c5b8790
movzx ecx, word [esp + 0x46]
mov dword [esp + 0xac], eax
cmp ecx, 0x41
jge 0x407134
jmp 0x406ea8
mov al, 0xb2
mov cl, byte [esp + 0x27]
mov byte [esp + 3], al
mov al, cl
mov dl, byte [esp + 3]
mul dl
mov byte [esp + 0x9f], al
mov esi, dword [esp + 0x48]
mov dword [esp + 0x58], esi
jmp 0x4073d8
mov al, byte [esp + 0x27]
mov byte [esp + 0x9f], al
cmp byte [esp + 0x97], 0x5e
jne 0x407218
jmp 0x406fc0
mov eax, 0xffffffff
mov dword [esp + 0x58], eax
jmp 0x4073d8
mov eax, dword [esp + 0x2c]
not eax
mov ecx, dword [esp + 0x18]
not ecx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff8
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x48]
movzx ecx, word [eax + 0x2c]
mov byte [esp + 0x9f], 0x63
mov dword [esp + 0x40], ecx
mov byte [esp + 0x9f], 0x7f
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x88], ecx
mov word [esp + 0x9c], 0x667a
mov ecx, dword [esp + 0x18]
add ecx, 0xf9464500
mov edx, dword [esp + 0x2c]
adc edx, 0xffffffff
mov esi, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], ecx
cmp eax, esi
je 0x406f3f
jmp 0x4070e0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov byte [esp + 0x9f], 0xbc
jmp 0x4073d8
mov eax, dword [esp + 0x18]
or eax, 0x617e6375
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x58], 0
jmp 0x4073d8
cmp dword [esp + 0x8c], 0
je 0x4072c3
jmp 0x407100
movzx eax, word [esp + 0x46]
add eax, 0x61
mov ecx, dword [esp + 0x20]
xor ecx, 0x5a682656
mov dword [esp + 0xac], ecx
sub eax, 0x41
mov dx, ax
mov word [esp + 0x9c], 0xd75f
mov word [esp + 0x46], dx
jmp 0x406ea8
mov al, 0xb2
mov cl, byte [esp + 0x27]
mov byte [esp + 2], al
mov al, cl
mov dl, byte [esp + 2]
mul dl
mov byte [esp + 0x9f], al
mov esi, dword [esp + 0x18]
and esi, 0x345a33b0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [esp + 0x74], 0
jne 0x406fd0
jmp 0x407011