Function at 0x41c630
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x459646
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x472cf0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cf0]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
mov esi, ecx
mov ecx, dword [esp + 0x254]
mov dword [esp + 0x20], eax
xor ebp, ebp
mov eax, ecx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebp
mov byte [esp + 0x50], 0
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41c697
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x54]
call fcn.00401f40
mov eax, dword [esi + 0x7c]
cmp eax, ebp
sete cl
test cl, cl
mov dword [esp + 0x24c], ebp
mov byte [esp + 0x17], cl
mov ebx, eax
je 0x41c6fa
mov ecx, dword [esi + 0x5c]
push 2
push ebp
push ebp
push ecx
call fcn.0043f42f
mov edx, dword [esi + 0x5c]
push edx
call fcn.0043f095
mov ebx, eax
mov eax, dword [0x474c54]
add esp, 0x14
cmp eax, ebp
je 0x41c73b
push str.append_file_to_add_DIR_NODE_n
push eax
call fcn.0043e435
add esp, 8
jmp 0x41c73b
push ebp
push ebp
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043f42f
push 0xec
lea ecx, [esp + 0x7c]
push ebp
push ecx
call fcn.0043a0d0
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0x8c]
push 0xec
push eax
call fcn.0043f37b
mov ecx, dword [esp + 0x138]
add esp, 0x2c
mov dword [esi + 0x7c], ecx
lea edx, [esp + 0x4c]
lea edi, [esi + 0x1a8]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.0041af00
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], ecx
je 0x41c769
cmp ebp, edi
je 0x41c76e
call fcn.0043a87e
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x2c]
jne 0x41c782
cmp dword [esp + 0x64], 0x10
jmp 0x41c9cb
push 0xec
lea eax, [esp + 0x158]
push 0
push eax
call fcn.0043a0d0
add esp, 0xc
test ebp, ebp
jne 0x41c7a2
call fcn.0043a87e
cmp edi, dword [ebp + 4]
jne 0x41c7ac
call fcn.0043a87e
mov edi, dword [edi + 0x28]
push edi
mov ecx, esi
call fcn.0041a610
mov ebp, dword [edi + 0xc]
test ebp, ebp
mov dword [esp + 0x18], eax
je 0x41c83f
push 0xec
lea ecx, [esp + 0x6c]
push 0
push ecx
call fcn.0043a0d0
mov edx, dword [esi + 0x5c]
push 0
push 0
push ebp
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x8c]
push 0xec
push ecx
call fcn.0043f37b
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 0x5c]
push 0
push 0
push edx
push eax
mov dword [esp + 0xa4], ebx
call fcn.0043f42f
mov ebp, dword [esi + 0x5c]
push ebp
push 1
lea ecx, [esp + 0xac]
push 0xec
push ecx
call fcn.0043c4b8
add esp, 0x4c
push ebp
call fcn.0043c1ff
mov edx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x158], edx
mov eax, dword [esp + 0x18]
push 0
push 0
mov dword [edi + 0xc], ebx
mov ecx, dword [esi + 0x5c]
push eax
push ecx
call fcn.0043f42f
mov ebp, dword [esi + 0x5c]
push ebp
push 1
push 0xec
push edi
call fcn.0043c4b8
push ebp
call fcn.0043c1ff
mov edx, dword [esp + 0x3c]
add esp, 0x24
cmp byte [esp + 0x17], 0
mov dword [esp + 0x15c], edx
je 0x41c88e
push 0x4604c8
mov ecx, esi
call fcn.0041ac10
jmp 0x41c89f
mov eax, dword [esi + 0x5c]
push 0
push 0
push ebx
push eax
call fcn.0043f42f
add esp, 0x10
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x178]
mov eax, ebp
sub edx, ebp
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41c8b0
mov edi, dword [esi + 0x5c]
push edi
push 1
lea ecx, [esp + 0x15c]
push 0xec
push ecx
call fcn.0043c4b8
push edi
call fcn.0043c1ff
add esp, 0x14
cmp byte [esp + 0x17], 0
je 0x41c8f0
push 0x46047c
mov ecx, esi
call fcn.0041ac10
mov edx, dword [esi + 0x5c]
push 0
push 0
push 0
push edx
call fcn.0043f42f
mov edi, dword [esi + 0x5c]
push edi
push 1
push pe_nt_image_headers32
add esi, 0x60
push esi
call fcn.0043c4b8
push edi
call fcn.0043c1ff
push 0xec
call fcn.0041d9ab
mov esi, eax
add esp, 0x28
test esi, esi
je 0x41c940
push 0xec
push 0
push esi
call fcn.0043a0d0
add esp, 0xc
mov ebx, esi
jmp 0x41c942
xor ebx, ebx
mov ecx, 0x3b
lea esi, [esp + 0x154]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov eax, ebp
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41c970
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x38]
call fcn.00401f40
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x250], 1
call fcn.0041c0e0
mov esi, 0x10
mov dword [eax], ebx
cmp dword [esp + 0x48], esi
jb 0x41c9b6
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041d9db
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], edi
mov byte [esp + 0x34], 0
jb 0x41c9da
mov edx, dword [esp + 0x50]
push edx
call fcn.0041d9db
add esp, 4
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0043a2e3
add esp, 0x23c
ret 8