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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6fb2f3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x7e6410]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
cmp dword [ebx + 0x2c], 0
je 0x483901
cmp dword [ebx + 0x4c], 8
lea eax, [ebx + 0x38]
jb 0x48348b
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x483901
push 0x783f96
lea ecx, [esp + 0x44]
call fcn.00424540
push 0x783f96
lea ecx, [esp + 0x74]
mov dword [esp + 0xb4], 0
call fcn.00424540
push 0x783f96
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb4], 1
call fcn.00424540
push 0x783f96
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 2
call fcn.00424540
mov byte [esp + 0xb0], 3
mov eax, dword [ebx]
mov dword [esp + 0x1c], 0
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp edi, eax
je 0x48385c
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov dword [esp + 0x24], eax
jb 0x483535
mov edx, dword [eax]
jmp 0x483537
mov edx, eax
push dword [ebx + 0xc]
lea ecx, [esp + 0x8c]
call fcn.00436270
mov esi, eax
add esp, 4
lea eax, [esp + 0x40]
cmp eax, esi
je 0x4835c3
cmp dword [esp + 0x54], 0x10
jb 0x483566
push dword [esp + 0x40]
call fcn.006b31f8
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
cmp dword [esi + 0x14], 0x10
jae 0x483598
mov eax, dword [esi + 0x10]
inc eax
je 0x4835a4
push eax
lea eax, [esp + 0x44]
push esi
push eax
call fcn.006b3d50
add esp, 0xc
jmp 0x4835a4
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x9c], 0x10
jb 0x4835dc
push dword [esp + 0x88]
call fcn.006b31f8
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x4835f3
push 4
push 0x78951c
lea ecx, [esp + 0x30]
call fcn.004840e0
push 1
push 0x789518
lea ecx, [esp + 0x30]
call fcn.004840e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x34]
call fcn.00484020
push 1
push 0x789528
lea ecx, [esp + 0x30]
call fcn.004840e0
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0
cmovae eax, dword [esp + 0x40]
mov byte [eax], 0
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x48384e
mov edi, dword [esp + 0x14]
push dword [edi + 0xc]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x8c]
call fcn.00436270
mov ebx, eax
add esp, 4
lea eax, [esp + 0x70]
cmp eax, ebx
je 0x4836f3
cmp dword [esp + 0x84], 0x10
jb 0x48368a
push dword [esp + 0x70]
call fcn.006b31f8
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
cmp dword [ebx + 0x14], 0x10
jae 0x4836c2
mov eax, dword [ebx + 0x10]
inc eax
je 0x4836ce
push eax
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.006b3d50
add esp, 0xc
jmp 0x4836ce
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x84], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esp + 0x9c], 0x10
jb 0x48370c
push dword [esp + 0x88]
call fcn.006b31f8
add esp, 4
push dword [edi + 0xc]
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x8c]
call fcn.00436270
mov ebx, eax
add esp, 4
lea eax, [esp + 0x58]
cmp eax, ebx
je 0x48379b
cmp dword [esp + 0x6c], 0x10
jb 0x48373e
push dword [esp + 0x58]
call fcn.006b31f8
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
cmp dword [ebx + 0x14], 0x10
jae 0x483770
mov eax, dword [ebx + 0x10]
inc eax
je 0x48377c
push eax
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.006b3d50
add esp, 0xc
jmp 0x48377c
mov eax, dword [ebx]
mov dword [esp + 0x58], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esp + 0x9c], 0x10
jb 0x4837b4
push dword [esp + 0x88]
call fcn.006b31f8
add esp, 4
push 2
push 0x789524
lea ecx, [esp + 0x30]
call fcn.004840e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x34]
call fcn.00484020
push 3
push 0x78952c
lea ecx, [esp + 0x30]
call fcn.004840e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call fcn.00484020
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x1c]
push 0
push ecx
push dword [esp + 0x40]
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
cmovae eax, dword [esp + 0x28]
mov byte [eax], 0
mov eax, dword [esp + 0x24]
mov esi, dword [esi]
mov eax, dword [eax + 0x18]
cmp esi, dword [eax]
jne 0x483651
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov edi, dword [edi]
mov dword [esp + 0x18], edi
cmp edi, dword [ebx]
jne 0x483524
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
mov dword [ebx + 0x2c], 0
jb 0x483880
push dword [esp + 0x28]
call fcn.006b31f8
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x4838a8
push dword [esp + 0x58]
call fcn.006b31f8
add esp, 4
cmp dword [esp + 0x84], 0x10
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jb 0x4838d3
push dword [esp + 0x70]
call fcn.006b31f8
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
jb 0x483901
push dword [esp + 0x40]
call fcn.006b31f8
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.006b3266
mov esp, ebp
pop ebp
ret