Function at 0x4325e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov eax, dword [esi + 0x26d8]
mov edi, dword [eax + edx*4]
mov eax, dword [edi + 0x805c]
mov ebx, dword [edi]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x43262d
xor ecx, ecx
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 4], ecx
sete cl
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x43277e
cmp eax, 1
cmovne ebx, dword [edi + 0x805c]
cmp dword [esi + 0x26f0], ecx
je 0x4326e7
mov ecx, esi
call fcn.00433a30
mov edx, dword [edi + 0x8040]
push 0
mov dword [ebp - 8], edx
mov ecx, dword [edx + 8]
add ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
adc eax, dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43268d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43275f
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43275f
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jne 0x43275f
mov eax, dword [ebp - 8]
add dword [eax + 0x18], ecx
mov ecx, esi
adc dword [eax + 0x1c], 0
mov eax, dword [ebp - 0xc]
add dword [esi + 0x5d110], eax
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.00433c30
mov ecx, esi
call fcn.00433b40
jmp 0x432723
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43275f
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x43275f
add dword [esi + 0x5d110], eax
mov ecx, esi
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.00433c30
mov ebx, dword [ebp - 0x1c]
add dword [esi + 0x26c0], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 0x26a4]
cmp ecx, 0x3e8
jbe 0x432757
mov dword [esi + 0x26a4], eax
mov ecx, esi
mov eax, dword [esi]
push 0
push 6
call dword [eax + 4]
test eax, eax
je 0x4327d2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
jmp 0x432781
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00432aa0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x1c]
cmp dword [esi + 0x26f0], 0
je 0x43283d
test ebx, ebx
je 0x4327f3
test ecx, ecx
jne 0x4327f3
mov ecx, dword [edi + 0x8040]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
mov edx, dword [ecx + 0x14]
sbb edx, dword [ecx + 0xc]
add eax, 1
adc edx, 0
cmp eax, dword [ecx + 0x18]
jne 0x4327e7
cmp edx, dword [ecx + 0x1c]
jne 0x4327e7
mov dword [edi + 0x28], 0xa
mov ecx, esi
mov eax, dword [esi]
push 0
push 6
call dword [eax + 4]
test eax, eax
jne 0x432875
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x28], 8
jmp 0x432875
mov eax, dword [edi + 0x8040]
test eax, eax
je 0x43282a
mov dword [eax + 4], 0
mov ecx, dword [edi + 0x8040]
mov eax, dword [ecx + 0x18]
add dword [ecx + 8], eax
mov eax, dword [ecx + 0x1c]
adc dword [ecx + 0xc], eax
mov eax, dword [edi + 0x8040]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
push 1
push edx
mov ecx, esi
mov dword [edi + 0x28], 4
call fcn.00432fa0
jmp 0x432875
test ebx, ebx
je 0x43286d
mov ecx, dword [esi + 0x5d100]
mov eax, dword [esi + 0x5d104]
cmp ecx, 0xffffffff
jne 0x432856
cmp eax, ecx
je 0x432866
cmp ecx, dword [esi + 0x5d110]
jne 0x432866
cmp eax, dword [esi + 0x5d114]
je 0x43286d
mov eax, 8
jmp 0x432872
mov eax, 0xa
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4