Function at 0x452bf0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [0x809d38]
sub esp, 0x8c
push ebx
push ebp
xor ebp, ebp
push esi
cmp edx, eax
push edi
je 0x452c21
mov ebp, dword [edx - 4]
test ebp, ebp
jne 0x452c21
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov dword [edx - 4], ebp
lea esi, [ebp + 1]
push esi
call fcn.00672b70
mov ecx, esi
mov esi, dword [esp + 0xa4]
mov ebx, eax
mov eax, ecx
mov edi, ebx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
mov ecx, eax
push 3
push 0
and ecx, 3
push 1
push bind
rep movsb byte es:[edi], byte [esi]
push str.woldata.key
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x452cbd
push ebx
call fcn.00672c80
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.004027b0
mov ebx, dword [esp + 0xa4]
mov esi, eax
mov ecx, ebx
lea edi, [esi + 1]
push edi
call fcn.005dd330
mov eax, dword [ebx]
mov ecx, dword [0x809d38]
cmp eax, ecx
je 0x452c9f
mov dword [eax - 4], esi
mov esi, dword [esp + 0xa0]
mov ecx, edi
mov edi, dword [ebx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x452e67
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x24]
push 0x80
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x452d4c
push ebx
call fcn.00672c80
mov edi, dword [esp + 0xa4]
mov eax, dword [0x809d38]
add esp, 4
xor esi, esi
cmp edi, eax
je 0x452d14
mov esi, dword [edi - 4]
test esi, esi
jne 0x452d14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xa0]
push esi
call fcn.004029d0
mov ebx, dword [esp + 0xa4]
lea edi, [esi + 1]
push edi
mov ecx, ebx
call fcn.005dd330
push esi
mov ecx, ebx
call fcn.004029d0
mov esi, dword [esp + 0xa0]
mov ecx, edi
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x452e67
mov cl, byte [esp + 0xa8]
neg cl
sbb ecx, ecx
and ecx, 2
dec ecx
mov dword [esp + 0x14], ecx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x10], eax
movsx esi, byte [esp + eax + 0x1c]
movsx eax, byte [ecx + ebx]
imul esi, dword [esp + 0x14]
sub eax, 0x30
mov edi, 0xa
cdq
idiv edi
lea eax, [esi + edx + 0x3e8]
mov esi, edi
cdq
idiv esi
add dl, 0x30
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, ebp
jne 0x452d99
xor ecx, ecx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x80
mov dword [esp + 0x10], eax
jb 0x452d67
mov edx, dword [0x809d38]
test ebx, ebx
mov dword [esp + 0x10], edx
je 0x452dc5
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x452dc7
xor ecx, ecx
inc ecx
push 1
push ecx
lea ecx, [esp + 0x18]
call fcn.005dcfa0
test ebx, ebx
je 0x452e13
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x10]
lea edi, [esi + 1]
push edi
call fcn.005dd330
push esi
lea ecx, [esp + 0x14]
call fcn.004029d0
mov ecx, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004027b0
mov edi, dword [esp + 0xa4]
mov ebp, eax
mov ecx, edi
lea esi, [ebp + 1]
push esi
call fcn.005dd330
mov eax, dword [edi]
mov ecx, dword [0x809d38]
cmp eax, ecx
je 0x452e3f
mov dword [eax - 4], ebp
mov edi, dword [edi]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.005dd410
push ebx
call fcn.00672c80
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.005dd410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret