Function at 0x403250
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a1fb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x44a5d0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push edi
mov eax, dword [0x44a5d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], 0
cmp dword [ebx + 0xb4], 0
mov dword [esp + 0x38], ebx
je 0x403338
mov eax, dword [ebx + 0x98]
push 0x441128
push eax
call fcn.00423a76
add esp, 8
test eax, eax
sete al
test al, al
jne 0x403338
mov eax, dword [ebx + 0xb4]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax]
jl 0x403338
cmp dword [eax + 0x510], 0
je 0x403338
cmp dword [eax + 0x514], 0
je 0x403338
mov eax, dword [ebx + 0x98]
push 0x440bd4
push eax
call fcn.00422837
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x24], edi
je 0x403338
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.004299ef
add esp, 4
push eax
call fcn.00423572
mov eax, dword [esp + 0x5c]
add esp, 8
cmp dword [esp + 0x58], 0
jl 0x403369
jg 0x40332f
cmp eax, 0x25800000
jbe 0x403369
push edi
call fcn.00422db0
add esp, 4
push 0x441128
mov ecx, esi
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00421f10
mov esp, ebp
pop ebp
ret
mov edi, eax
push 0x440ea4
lea eax, [ebx + 0xbc]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x40], edi
call fcn.00405000
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0x28]
push 0x440e74
push edx
call fcn.00422837
add esp, 0x14
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4033d1
mov eax, dword [esp + 0x24]
push eax
call fcn.00422db0
add esp, 4
push 0x441128
mov ecx, esi
call fcn.00405800
lea ecx, [esp + 0x1c]
call fcn.00401350
jmp 0x403344
mov ecx, dword [ebx + 0x188]
push edi
push 0
push 0x406
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebx + 0x168]
call fcn.004053a0
xor eax, eax
push 0x1401000
mov byte [esp + 0x7c], 0
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
mov byte [esp + 0x93], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.00405cc4
push 0x1401000
mov edi, eax
push 0
push edi
call fcn.004249b0
mov eax, dword [ebx + 0xb4]
add esp, 0x10
push 1
xor ecx, ecx
push ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x514]
mov eax, dword [eax + 0x510]
push edx
push eax
push 1
push 0x65
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_CreateSymmKeyObj]
push 3
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.GDCA_API.dll_GDCA_CreateHashObj]
push 0xa00000
call fcn.00405cc4
add esp, 4
cmp dword [esp + 0x34], 0
mov dword [esp + 0x18], eax
jbe 0x40356c
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0x30]
cmp ebx, 0xa00000
jbe 0x4034bd
mov ebx, 0xa00000
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push 1
push ecx
call fcn.00422b83
add esp, 0x10
cmp ebx, eax
jne 0x40363b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push edi
push ebx
push eax
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_SymmEncryptUpdate]
test eax, eax
jne 0x403692
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add dword [esp + 0x30], ebx
push edx
push eax
push 1
push edi
call fcn.004234f0
add esp, 0x10
cmp dword [esp + 0x28], eax
jne 0x4036cb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042243a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 4
push ebx
push edx
push eax
call dword [sym.imp.GDCA_API.dll_GDCA_HashUpdate]
test eax, eax
jne 0x40363b
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x188]
push eax
push ebx
push 0x403
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
jne 0x4034a8
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push edi
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_SymmEncryptFinal]
test eax, eax
jne 0x4036cb
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
push edx
push 1
push edi
call fcn.004234f0
add esp, 0x10
cmp dword [esp + 0x28], eax
jne 0x403692
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_HashFinal]
test eax, eax
jne 0x4036cb
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [ebx + 0x78]
push eax
call fcn.0042daa0
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x90], ecx
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.0042243a
mov edx, dword [esp + 0x34]
push edx
call fcn.00422db0
push ebx
call fcn.00422db0
mov eax, dword [esp + 0x30]
push eax
call fcn.00405cc9
push edi
call fcn.00405cc9
mov ecx, dword [esp + 0x30]
add esp, 0x20
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_DestroySymmKeyObj]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDCA_API.dll_GDCA_DestroyHashObj]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004052f0
lea ecx, [esp + 0x1c]
call fcn.00401350
jmp 0x403344
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00422db0
mov edx, dword [esp + 0x28]
push edx
call fcn.00422db0
mov eax, dword [esp + 0x20]
push eax
call fcn.00405cc9
push edi
call fcn.00405cc9
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [sym.imp.GDCA_API.dll_GDCA_DestroySymmKeyObj]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDCA_API.dll_GDCA_DestroyHashObj]
push 0x441128
mov ecx, esi
call fcn.00405800
lea ecx, [esp + 0x1c]
call fcn.00401350
jmp 0x403344
mov eax, dword [esp + 0x20]
push eax
call fcn.00422db0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00422db0
mov edx, dword [esp + 0x20]
push edx
call fcn.00405cc9
push edi
call fcn.00405cc9
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call dword [sym.imp.GDCA_API.dll_GDCA_DestroySymmKeyObj]
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x403672
mov edx, dword [esp + 0x20]
push edx
call fcn.00422db0
mov eax, dword [esp + 0x28]
push eax
call fcn.00422db0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00405cc9
push edi
call fcn.00405cc9
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call dword [sym.imp.GDCA_API.dll_GDCA_DestroySymmKeyObj]
mov eax, dword [esp + 0x14]
push eax
jmp 0x403672