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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor eax, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ecx + 4]
xor ebx, ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov edx, eax
not edx
mov dword [ebp - 0x2c], edi
and edx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], edx
mov edx, eax
shr edx, 1
and edx, 1
mov dword [ebp - 0x14], 0x400
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], ebx
cmp ecx, 0x28
jle 0x414aab
add ecx, 7
and ecx, 0xfffffff8
mov dword [ebp + 0x10], ecx
jmp 0x414ab2
mov dword [ebp + 0x10], 0x28
mov dword [edi], ebx
test al, 4
je 0x414ac8
mov eax, 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
jmp 0x414bbb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x414bbb
cmp byte [eax], bl
je 0x414bbb
mov ebx, dword [ebp - 8]
mov esi, dword [ebx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.00409c50
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
je 0x414e8b
push edi
push esi
mov esi, dword [ebp + 8]
mov byte [edi], 0
mov eax, dword [ebx + 0x24]
push esi
push ebx
call eax
add esp, 0x10
mov edx, eax
cmp byte [edi], 0
mov ebx, edi
mov dword [ebp - 4], edx
je 0x414b26
nop dword [eax]
inc ebx
cmp byte [ebx], 0
jne 0x414b20
sub ebx, edi
mov eax, esi
and ebx, 0x3fffffff
cmp byte [esi], 0
je 0x414b3b
inc eax
cmp byte [eax], 0
jne 0x414b35
sub eax, esi
inc esi
and eax, 0x3fffffff
add eax, esi
mov dword [ebp - 0x10], eax
mov esi, eax
cmp byte [eax], 0
je 0x414b90
nop
cmp byte [esi], 0
mov eax, esi
je 0x414b5d
inc eax
cmp byte [eax], 0
jne 0x414b57
sub eax, esi
and eax, 0x3fffffff
lea ecx, [eax + 1]
add ecx, esi
mov eax, ecx
jne 0x414b71
xor eax, eax
jmp 0x414b83
cmp byte [ecx], 0
je 0x414b7c
inc eax
cmp byte [eax], 0
jne 0x414b76
sub eax, ecx
and eax, 0x3fffffff
lea esi, [eax + 1]
add esi, ecx
cmp byte [esi], 0
jne 0x414b50
mov eax, dword [ebp - 0x10]
sub esi, eax
inc esi
test edx, edx
jne 0x414e6c
mov ecx, dword [ebp - 8]
lea eax, [ebx + 8]
cmp eax, dword [ecx + 8]
jle 0x414bbb
mov ecx, 0xa3a1
call fcn.00466bd0
mov dword [ebp - 4], eax
test eax, eax
jne 0x414e6c
mov eax, dword [ebp - 8]
lea ecx, [ebx + ebx*2]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add eax, esi
lea eax, [eax + edx*2]
add eax, 0xf7
add eax, ecx
push eax
mov dword [ebp + 8], eax
call fcn.00409c50
mov edi, eax
add esp, 4
test edi, edi
je 0x414e7f
push dword [ebp + 8]
push 0
push edi
call fcn.004760a0
mov eax, dword [ebp - 8]
lea ecx, [edi + 0xb8]
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [edi + 0xa8], ecx
add ecx, 0x30
mov dword [edi + 0x3c], ecx
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add ecx, eax
mov dword [edi + 0x44], ecx
add ecx, dword [ebp + 0x10]
mov dword [edi + 0x40], ecx
add ecx, dword [ebp + 0x10]
mov dword [edi + 0x90], ecx
test edx, edx
je 0x414cc4
lea eax, [ecx + 1]
push ebx
add eax, esi
push edx
add eax, ebx
push ecx
mov dword [edi + 0x94], eax
call fcn.00474330
mov eax, dword [edi + 0x90]
add esp, 0xc
inc eax
add eax, ebx
push esi
push dword [ebp - 0x10]
push eax
call fcn.00474330
mov esi, dword [ebp - 0xc]
add esp, 0xc
push ebx
push esi
push dword [edi + 0x94]
call fcn.00474330
mov ecx, dword [edi + 0x94]
add esp, 0xc
mov eax, dword [str._journal]
mov dword [ecx + ebx], eax
mov eax, dword [0x4a5c04]
mov dword [ecx + ebx + 4], eax
mov eax, dword [edi + 0x94]
add eax, 9
push ebx
add eax, ebx
push esi
push eax
mov dword [edi + 0xb0], eax
call fcn.00474330
mov eax, dword [edi + 0xb0]
add esp, 0xc
push esi
mov dword [ebx + eax], 0x6c61772d
call fcn.00409f40
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x14]
mov dword [edi], ecx
mov dword [edi + 0x78], ebx
test eax, eax
je 0x414d36
cmp byte [eax], 0
je 0x414d36
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [ecx + 0x18]
and ebx, 0x87f7f
push ebx
push dword [edi + 0x3c]
push dword [edi + 0x90]
push ecx
call eax
mov ebx, dword [ebp + 8]
mov ecx, eax
add esp, 0x14
mov dword [ebp - 4], ecx
and ebx, 1
test ecx, ecx
jne 0x414e54
test ebx, ebx
jne 0x414d50
mov ecx, edi
call fcn.004135f0
mov eax, dword [edi + 0x7c]
cmp eax, 0x400
jbe 0x414d50
mov ecx, 0x2000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x414d50
mov eax, 1
mov word [edi + 0xf], 0x401
and ebx, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 4], 0
jne 0x414e54
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.00414160
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x414e54
mov esi, dword [edi + 0xa8]
push 0x30
push eax
push esi
call fcn.004760a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov ecx, 0x414970
mov dword [esi + 0x14], eax
xor eax, eax
test edx, edx
mov dword [esi + 0x18], 0x50
mov dword [esi + 0x24], edi
sete al
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x1c], eax
xor eax, eax
test edx, edx
cmove eax, ecx
cmp dword [ebp - 0x28], 0
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x24]
mov byte [edi + 6], al
je 0x414dc6
test ebx, ebx
je 0x414dc6
mov eax, 1
jmp 0x414dc8
xor eax, eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov byte [edi + 7], al
sete al
mov byte [edi + 0xc], cl
test cl, cl
mov byte [edi + 9], al
mov byte [edi + 4], cl
setne al
mov byte [edi + 0x11], cl
dec al
mov byte [edi + 8], cl
and al, 2
mov dword [edi + 0x84], 0x3fffffff
mov byte [edi + 0xb], al
mov ecx, edi
mov byte [edi + 0xa], al
mov eax, 0x50
mov byte [edi + 0xe], dl
mov byte [edi + 0xd], bl
mov word [edi + 0x74], ax
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0xffffffff
call fcn.004135f0
cmp dword [ebp - 0x24], 0
jne 0x414e31
mov byte [edi + 5], 2
jmp 0x414e3c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x414e3c
mov byte [edi + 5], 4
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xa0], 0x41a190
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x414e6c
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
push edi
call fcn.00409f40
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.00409f40
add esp, 4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret