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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov byte [esp + 0x1b], 0
mov eax, dword [0x510004]
mov dword [esp], eax
movzx eax, byte [esp + 0x1b]
mov dword [esp + 4], eax
call fcn.004063f0
mov byte [esp + 0x18], al
mov byte [esp + 0x5f], al
cmp al, 0xff
je 0x404247
mov al, byte [esp + 0x18]
cmp al, 1
sete al
and al, 1
mov byte [esp + 0x1a], al
jmp 0x4042e1
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00419100
lea eax, [esp + 0x4c]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 7
mov dword [esp + 8], 0
call fcn.00419130
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
lea eax, [0x503be8]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00405500
test al, 1
jne 0x404326
jmp 0x4042f8
mov al, byte [esp + 0x1a]
and al, 1
mov byte [esp + 0x19], al
mov al, byte [esp + 0x19]
and al, 1
movzx eax, al
mov esp, ebp
pop ebp
ret
lea ecx, [0x503be8]
lea eax, [0x503beb]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00405500
test al, 1
jne 0x404389
jmp 0x40435b
mov dword [esp + 0x80], 0xc000000
mov eax, dword [esp + 0x24]
and eax, 0xc000000
cmp eax, 0xc000000
sete al
mov cl, al
and cl, 1
mov byte [esp + 0x87], cl
test al, 1
jne 0x4044ac
jmp 0x4044a2
lea ecx, [0x503be8]
lea eax, [0x503bee]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.00405500
test al, 1
jne 0x4043bf
jmp 0x4043b8
mov dword [esp + 0x70], 0xc000000
mov eax, dword [esp + 0x24]
and eax, 0xc000000
cmp eax, 0xc000000
sete al
mov cl, al
and cl, 1
mov byte [esp + 0x77], cl
test al, 1
jne 0x40447b
jmp 0x404471
mov byte [esp + 0x5d], 1
jmp 0x4043e7
mov dword [esp + 0x60], 0xc000000
mov eax, dword [esp + 0x24]
and eax, 0xc000000
cmp eax, 0xc000000
sete al
mov cl, al
and cl, 1
mov byte [esp + 0x67], cl
test al, 1
jne 0x40444a
jmp 0x404443
mov al, byte [esp + 0x5d]
mov ecx, dword [esp + 0x24]
and ecx, 0x2000000
cmp ecx, 0
setne cl
and al, cl
and al, 0xff
mov byte [esp + 0x17], al
mov cl, al
and cl, 1
mov byte [esp + 0x97], cl
and al, 1
mov byte [esp + 0x5e], 0
mov ecx, dword [0x510004]
mov dword [esp], ecx
movzx eax, al
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.00406420
mov al, byte [esp + 0x17]
and al, 1
mov byte [esp + 0x1a], al
jmp 0x4042e1
mov byte [esp + 0x5d], 0
jmp 0x4043e7
mov eax, esp
mov dword [eax], 0
call fcn.00401f50
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
not eax
test al, 0xe6
sete al
and al, 1
mov byte [esp + 0x5d], al
jmp 0x4043e7
mov byte [esp + 0x5d], 0
jmp 0x4043e7
mov eax, esp
mov dword [eax], 0
call fcn.00401f50
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
not eax
test al, 6
sete al
and al, 1
mov byte [esp + 0x5d], al
jmp 0x4043e7
mov byte [esp + 0x5d], 0
jmp 0x4043e7
mov eax, esp
mov dword [eax], 0
call fcn.00401f50
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
and eax, 2
shr eax, 1
and al, 1
mov byte [esp + 0x5d], al
jmp 0x4043e7