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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, eax
not ecx
and ecx, 1
shr eax, 1
push ebx
and eax, 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x400
cmp eax, 0x28
jle 0x45ff45
add eax, 7
and eax, 0xfffffff8
mov dword [ebp - 4], eax
jmp 0x45ff4f
mov dword [ebp - 4], 0x28
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], edi
mov edx, dword [ebp + 0x10]
cmp edx, edi
je 0x460033
cmp byte [edx], bl
je 0x460033
mov esi, dword [ecx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.00456de0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x460181
mov edx, dword [ebp + 0x10]
mov edi, str.:memory:
mov eax, edx
jmp 0x45ff90
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x45ffb0
test cl, cl
je 0x45ffac
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x45ffb0
add eax, 2
add edi, 2
test cl, cl
jne 0x45ff90
xor eax, eax
jmp 0x45ffb5
sbb eax, eax
sbb eax, 0xffffffff
mov byte [ebx], 0
test eax, eax
jne 0x45ffc8
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 1
jmp 0x45ffd9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ebx
push esi
push edx
push eax
call ecx
add esp, 0x10
mov esi, eax
cmp byte [ebx], 0
mov edi, ebx
je 0x45ffe6
inc edi
cmp byte [edi], 0
jne 0x45ffe0
sub edi, ebx
and edi, 0x3fffffff
test esi, esi
jne 0x46001b
mov eax, dword [ebp + 8]
lea edx, [edi + 8]
cmp edx, dword [eax + 8]
jle 0x46002d
push 0x8a20
push str.cannot_open_file_at_source_line__d
push 0xe
call fcn.004589b0
mov dword [ebp - 0x10], 0xe
mov esi, dword [ebp - 0x10]
add esp, 0xc
push ebx
call fcn.004570d0
add esp, 4
mov eax, esi
invalid
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, 7
add eax, edi
and ecx, 0xfffffff8
lea eax, [ecx + eax*2 + 0xea]
push eax
mov dword [ebp - 0x10], eax
call fcn.00456de0
mov esi, eax
add esp, 4
test esi, esi
je 0x460178
mov edx, dword [ebp - 0x10]
push edx
push 0
push esi
call fcn.004da410
mov ecx, dword [ebp + 8]
lea eax, [esi + 0xb0]
mov dword [esi + 0xa8], eax
add eax, 0x30
mov dword [esi + 0x38], eax
mov edx, dword [ecx + 4]
add edx, 7
and edx, 0xfffffff8
add eax, edx
mov edx, dword [ebp - 4]
mov dword [esi + 0x40], eax
add eax, edx
mov dword [esi + 0x3c], eax
add eax, edx
add esp, 0xc
mov dword [esi + 0x84], eax
test ebx, ebx
je 0x460100
push edi
lea ecx, [eax + edi + 1]
push ebx
push eax
mov dword [esi + 0x88], ecx
call fcn.004db780
mov edx, dword [esi + 0x88]
add esp, 0xc
push edi
push ebx
push edx
call fcn.004db780
mov eax, dword [esi + 0x88]
mov ecx, dword [str._journal]
mov dword [eax + edi], ecx
mov edx, dword [0x52f02c]
mov dword [eax + edi + 4], edx
mov eax, dword [esi + 0x84]
add esp, 0xc
cmp byte [eax], 0
jne 0x4600f4
mov ecx, dword [esi + 0x88]
mov byte [ecx], 0
push ebx
call fcn.004570d0
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 0x78], eax
test edx, edx
je 0x460195
cmp byte [edx], 0
je 0x460195
cmp dword [ebp - 0xc], 0
jne 0x460195
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x84]
lea ebx, [ebp + 0x10]
push ebx
and eax, 0x7f3f
push eax
push edx
mov edx, dword [ecx + 0x18]
push edi
push ecx
mov dword [ebp + 0x10], 0
call edx
mov edi, eax
mov eax, dword [ebp + 0x10]
and eax, 1
add esp, 0x14
mov dword [ebp + 8], eax
test edi, edi
jne 0x4601be
test eax, eax
jne 0x4601a5
call fcn.0045f230
mov eax, dword [esi + 0x70]
cmp eax, 0x400
jbe 0x4601a5
mov bl, byte [ebp - 0x14]
cmp eax, 0x2000
jbe 0x46018d
mov dword [ebp - 8], 0x2000
jmp 0x4601a8
push ebx
call fcn.004570d0
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, ax
mov dword [ebp - 8], eax
jmp 0x4601a8
mov ebx, 1
and eax, ebx
mov byte [esi + 0xe], 4
mov dword [ebp + 8], eax
jmp 0x4601a8
mov bl, byte [ebp - 0x14]
lea ecx, [ebp - 8]
push 0xffffffffffffffff
push ecx
mov edi, esi
call fcn.0045f780
mov edi, eax
add esp, 8
test edi, edi
je 0x4601e8
mov ebx, dword [esi + 0x38]
mov eax, dword [ebx]
test eax, eax
je 0x4601d6
mov edx, dword [eax + 4]
push ebx
call edx
add esp, 4
mov dword [ebx], 0
push esi
call fcn.004570d0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0xa8]
push 0x30
push 0
push edi
call fcn.004da410
movzx eax, word [ebp - 8]
xor ecx, ecx
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
sete cl
mov edx, eax
neg edx
sbb edx, edx
not edx
and edx, 0x45fe30
cmp dword [ebp - 0x1c], 0
mov dword [edi + 0x1c], ecx
mov cl, byte [ebp - 0x18]
mov dword [edi + 0x18], 0x50
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], esi
mov dword [edi + 0x10], 0x64
mov byte [esi + 6], cl
je 0x46024a
cmp dword [ebp + 8], 0
je 0x46024a
mov ecx, 1
jmp 0x46024c
xor ecx, ecx
mov dl, byte [ebp + 8]
mov byte [esi + 0x15], al
mov byte [esi + 0xd], al
test bl, bl
sete al
mov byte [esi + 7], cl
mov byte [esi + 9], al
or eax, 0xffffffff
mov ecx, 0x50
mov dword [esi + 0x80], 0x3fffffff
mov byte [esi + 0xb], bl
mov byte [esi + 4], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0xc], dl
mov byte [esi + 8], bl
mov byte [esi + 0xa], 2
mov word [esi + 0x74], cx
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
call fcn.0045f230
cmp dword [ebp - 0x18], 0
jne 0x4602a6
mov byte [esi + 5], 2
jmp 0x4602b0
cmp dword [ebp - 0xc], 0
je 0x4602b0
mov byte [esi + 5], 4
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x94], 0x462fd0
pop edi
mov dword [edx], esi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret