Function at 0x41efc0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47bd4b
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4a0538]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0538]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov eax, dword [esp + 0x438]
mov ebp, dword [esp + 0x43c]
push 0x1bc
xor ebx, ebx
mov esi, ecx
mov ecx, dword [esp + 0x444]
lea edx, [esp + 0x26c]
push ebx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.00463860
mov ecx, dword [esi + 0x188]
mov edx, dword [ecx + 4]
add esp, 0xc
lea eax, [esp + 0x268]
push eax
mov eax, dword [edx]
push eax
mov ecx, 0x4a1a80
call fcn.004030c0
push ebx
push 0x3e8
call fcn.00401f70
mov esi, dword [esp + 0x444]
push esi
mov edi, eax
call fcn.00404b90
push esi
mov byte [esp + 0x1f], al
call fcn.00404cf0
add esp, 8
push eax
lea ecx, [esp + 0x30]
call fcn.004098d0
mov eax, str._n__ALL_LOG_SUMMARY__r_n__COUNT_SUMMARY__r_n
mov dword [esp + 0x430], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41f090
mov edx, dword [esp + 0x1c]
push ebx
sub eax, ecx
lea ecx, [esp + 0x28]
push ecx
push eax
push str._n__ALL_LOG_SUMMARY__r_n__COUNT_SUMMARY__r_n
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x2c]
push eax
push str.__CURRENCY:__s__r_n__DENOM._STACKER.__AMOUNT_
push edi
call fcn.004649e7
mov eax, edi
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41f0c6
mov cx, word [0x485168]
mov word [eax], cx
mov dl, byte [0x48516a]
mov byte [eax + 2], dl
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41f0e6
mov edx, dword [esp + 0x1c]
push ebx
sub eax, ecx
lea ecx, [esp + 0x28]
push ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x114
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.00463860
push 0x114
lea ecx, [esp + 0x164]
push ebx
push ecx
mov dword [esp + 0x168], ebx
call fcn.00463860
lea edx, [esp + esi*4 + 0x168]
lea ecx, [esp + esi*4 + 0x50]
lea esi, [esi + esi*4]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
shl esi, 4
sub edx, ebp
mov eax, 0x49d0e8
add esp, 0x18
add esi, ebp
sub eax, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
jmp 0x41f178
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [ecx]
mov eax, dword [esi]
lea ebp, [ebx + eax]
mov dword [ecx], ebp
mov ecx, dword [edx + esi]
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
lea ebx, [ecx + edx]
mov edx, dword [esp + 0x28]
mov dword [edx], ebx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + esi]
test edx, edx
jne 0x41f1b0
push ebx
push ebp
push str._TOTAL.__d___d_
push edi
call fcn.004649e7
add esp, 0x10
jmp 0x41f1c7
push ecx
push eax
movsx eax, byte [esp + 0x1f]
push edx
push eax
push str.__c_d__d__d_
push edi
call fcn.004649e7
add esp, 0x18
mov eax, edi
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f1d0
mov cx, word [0x485168]
mov word [eax], cx
mov dl, byte [0x48516a]
mov byte [eax + 2], dl
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f1f0
push 0
lea ecx, [esp + 0x28]
push ecx
sub eax, edx
mov edx, dword [esp + 0x24]
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x18]
cmp dword [eax + esi], 0
je 0x41f22c
mov eax, dword [esp + 0x20]
inc eax
add esi, 4
cmp eax, 0x14
mov dword [esp + 0x20], eax
jl 0x41f170
lea ecx, [esp + 0x268]
push ecx
mov ecx, 0x4a1a80
call fcn.00402690
push edi
call fcn.00401c00
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x430], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f26f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004637ae
add esp, 0x420
ret 0x10