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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov dword [ebp - 8], 0
xor ecx, ecx
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, dword [eax + 4]
mov esi, edx
mov dword [ebp - 0x14], ecx
xor ebx, ebx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov edx, ecx
not edx
mov dword [ebp - 0x24], esi
push edi
and edx, 1
mov dword [ebp - 0x10], 0x400
xor edi, edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
cmp eax, 0x28
jle 0x414810
add eax, 7
and eax, 0xfffffff8
mov dword [ebp + 0x10], eax
jmp 0x414817
mov dword [ebp + 0x10], 0x28
mov eax, dword [ebp + 8]
mov dword [esi], ebx
test cl, 2
je 0x4149f6
mov ecx, 1
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x414859
cmp byte [eax], bl
je 0x4149f6
mov edx, eax
xor ecx, ecx
call fcn.0040a160
mov dword [ebp - 0xc], eax
test eax, eax
je 0x414c30
mov ecx, eax
call fcn.0040c020
mov ebx, eax
mov dword [ebp + 8], edi
mov esi, dword [ebp - 4]
mov eax, dword [esi + 4]
lea ecx, [ebx*2 + 0x101]
mov edx, dword [ebp + 0x10]
add eax, 7
and eax, 0xfffffff8
add ecx, ebx
add eax, edi
lea eax, [eax + edx*2]
add eax, ecx
push eax
mov dword [ebp - 0x20], eax
call fcn.00409a50
mov esi, eax
add esp, 4
test esi, esi
je 0x414c24
push dword [ebp - 0x20]
push 0
push esi
call fcn.00476e60
mov eax, dword [ebp - 4]
lea ecx, [esi + 0xc0]
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi + 0xb4], ecx
add ecx, 0x30
mov dword [esi + 0x3c], ecx
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add ecx, eax
mov dword [esi + 0x44], ecx
add ecx, dword [ebp + 0x10]
mov dword [esi + 0x40], ecx
add ecx, dword [ebp + 0x10]
mov dword [esi + 0x90], ecx
test edx, edx
je 0x41497a
lea eax, [ecx + 1]
push ebx
add eax, edi
push edx
add eax, ebx
push ecx
mov dword [esi + 0x94], eax
call fcn.00478a50
add esp, 0xc
test edi, edi
je 0x41490b
mov eax, dword [esi + 0x90]
push edi
push dword [ebp - 0x18]
inc eax
add eax, ebx
push eax
call fcn.00478a50
add esp, 0xc
mov edi, dword [ebp - 0xc]
push ebx
push edi
push dword [esi + 0x94]
call fcn.00478a50
mov ecx, dword [esi + 0x94]
add esp, 0xc
movq xmm0, qword [str._journal]
movq qword [ecx + ebx], xmm0
movzx eax, byte [0x492bdc]
mov byte [ecx + ebx + 8], al
mov eax, dword [esi + 0x94]
add eax, 9
push ebx
add eax, ebx
push edi
push eax
mov dword [esi + 0xbc], eax
call fcn.00478a50
mov ecx, dword [esi + 0xbc]
add esp, 0xc
mov eax, dword [str._wal]
mov dword [ecx + ebx], eax
movzx eax, byte [0x492be4]
push edi
mov byte [ecx + ebx + 4], al
call fcn.00409d50
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 0x78], ebx
test eax, eax
je 0x414afe
cmp byte [eax], 0
je 0x414afe
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
mov eax, dword [ecx + 0x18]
and ebx, 0x87f7f
push ebx
push dword [esi + 0x3c]
push dword [esi + 0x90]
push ecx
call eax
mov ebx, dword [ebp + 0x10]
add esp, 0x14
and ebx, 1
mov dword [ebp - 8], eax
test eax, eax
jne 0x4149ec
test ebx, ebx
jne 0x4149ec
mov ecx, esi
call fcn.00413470
mov eax, dword [esi + 0x7c]
cmp eax, 0x400
jbe 0x4149ec
mov ecx, 0x2000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x10], eax
xor al, al
mov byte [ebp + 0x13], al
jmp 0x414b0b
test eax, eax
je 0x414859
cmp byte [eax], bl
je 0x414859
mov ebx, dword [ebp - 4]
mov esi, dword [ebx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.00409a50
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
je 0x414c30
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 - 8], edx
je 0x414a4a
inc ebx
cmp byte [ebx], 0
jne 0x414a44
sub ebx, edi
mov eax, esi
and ebx, 0x3fffffff
cmp byte [esi], 0
je 0x414a66
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x414a60
sub eax, esi
inc esi
and eax, 0x3fffffff
add esi, eax
mov dword [ebp - 0x18], esi
mov edi, esi
mov cl, byte [esi]
test cl, cl
je 0x414abd
nop dword [eax + eax]
mov eax, edi
test cl, cl
je 0x414a8c
inc eax
cmp byte [eax], 0
jne 0x414a86
sub eax, edi
and eax, 0x3fffffff
lea ecx, [eax + 1]
add ecx, edi
mov eax, ecx
jne 0x414aa0
xor eax, eax
jmp 0x414ab2
cmp byte [ecx], 0
je 0x414aab
inc eax
cmp byte [eax], 0
jne 0x414aa5
sub eax, ecx
and eax, 0x3fffffff
lea edi, [eax + 1]
add edi, ecx
mov cl, byte [edi]
test cl, cl
jne 0x414a80
sub edi, esi
inc edi
test edx, edx
jne 0x414ae8
mov esi, dword [ebp - 4]
lea eax, [ebx + 8]
cmp eax, dword [esi + 8]
jle 0x41485c
mov ecx, 0xa185
call fcn.00468df0
mov dword [ebp - 8], eax
test eax, eax
je 0x41485c
mov edx, dword [ebp - 0xc]
push edx
call fcn.00409d50
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esi + 0xf], 0x401
and ebx, 1
mov byte [ebp + 0x13], 1
cmp dword [ebp - 8], 0
jne 0x414bf9
push 0xffffffffffffffff
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.00413f50
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x414bf9
mov ecx, dword [esi + 0xb4]
mov edi, 0x4146d0
mov edx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov eax, edx
xor eax, 1
mov dword [ecx + 0x18], 0x50
mov dword [ecx + 0x1c], eax
xor eax, eax
test edx, edx
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x10], 0x64
cmove eax, edi
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov byte [esi + 6], al
mov al, byte [ebp + 0x13]
mov dword [esi + 0x84], 0x3fffffff
mov byte [esi + 0xc], al
mov byte [esi + 4], al
mov byte [esi + 0x11], al
mov byte [esi + 0xe], dl
mov byte [esi + 0xd], bl
mov byte [esi + 7], al
test al, al
jne 0x414ba7
mov dword [esi + 8], 0x2220201
mov eax, 0x50
mov dword [esi + 0x88], 0xffffffff
mov ecx, esi
mov word [esi + 0x74], ax
mov dword [esi + 0x8c], 0xffffffff
call fcn.00413470
cmp dword [ebp - 0x1c], 0
jne 0x414bd7
mov byte [esi + 5], 2
jmp 0x414be1
cmp dword [ebp - 0x14], 0
je 0x414be1
mov byte [esi + 5], 4
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xac], 0x419f90
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x3c]
mov eax, dword [edi]
test eax, eax
je 0x414c11
mov eax, dword [eax + 4]
push edi
call eax
add esp, 4
mov dword [edi], 0
push esi
call fcn.00409d50
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.00409d50
add esp, 4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret