Function at 0x404f60
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43b90d
mov eax, dword fs:[0]
push eax
sub esp, 0x974
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0x988]
mov dword fs:[0], eax
mov eax, dword [esp + 0x998]
mov esi, dword [esp + 0x9a0]
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.004125a5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404fd1
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x208
lea ecx, [esp + 0x578]
push edi
push ecx
mov dword [esp + 0x99c], edi
call fcn.00421360
lea edx, [esp + 0x580]
add esp, 0xc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405010
lea eax, [esp + 0x574]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405022
mov edx, dword [0x43e8d4]
mov ecx, dword [0x43e8d8]
mov dword [eax], edx
mov edx, dword [0x43e8dc]
mov dword [eax + 4], ecx
mov cl, byte [0x43e8e0]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
push 0xa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edi
call fcn.00412946
lea edx, [esp + 0x574]
push 0x43e570
push edx
mov byte [esp + 0x998], 1
call fcn.00420f7d
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x405728
push 0x10e
lea eax, [esp + 0x58]
push 0
push eax
call fcn.00421360
push ebp
push 1
lea ecx, [esp + 0x68]
push 0x10e
push ecx
call fcn.00420e9c
push ebp
call fcn.00420b94
add esp, 0x20
test eax, eax
jne 0x4053a0
jmp 0x4050c0
push 0x118
lea edx, [esp + 0x370]
push 0
push edx
call fcn.00421360
push ebp
push 1
lea eax, [esp + 0x380]
push 0x118
push eax
call fcn.00420e9c
add esp, 0x1c
cmp eax, 1
je 0x405102
push ebp
call fcn.00420bc8
add esp, 4
test eax, eax
jne 0x4053a0
cmp dword [esp + 0x18], 0
jne 0x40538f
push 0x140
lea ecx, [esp + 0x168]
push 0
push ecx
call fcn.00421360
mov eax, dword [esp + 0x9a8]
lea edx, [esp + 0x170]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405134
lea edi, [esp + 0x164]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405146
mov bx, word [0x43e584]
mov word [edi], bx
lea ecx, [esp + 0x60]
mov eax, 0x43e84c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405181
test dl, dl
je 0x40517d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405181
add eax, 2
add ecx, 2
test dl, dl
jne 0x405161
xor eax, eax
jmp 0x405186
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4051cc
lea eax, [esp + 0x60]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405190
lea edi, [esp + 0x164]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4051a1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x164]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4051c1
mov word [edi], bx
lea eax, [esp + 0x36c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4051d5
lea edi, [esp + 0x164]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4051e6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x16c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00408900
mov ecx, dword [esp + 0x480]
add esp, 0xc
cmp ecx, dword [esp + 0x34]
jne 0x405238
mov edx, dword [esp + 0x470]
cmp edx, dword [esp + 0x30]
je 0x405240
mov dword [esp + 0x18], 1
push str..sec
lea ecx, [esp + 0x18]
call fcn.00402d40
lea eax, [esp + 0x36c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x994], 2
call fcn.00402d40
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x990], 3
jge 0x405295
push esi
lea ecx, [esp + 0x18]
call fcn.004016c0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00420252
push eax
call fcn.004010e0
add esp, 0xc
test esi, esi
jl 0x4054a3
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4054a3
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov byte [esi + edx], 0
mov edx, dword [esp + 0x1c]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4052ee
push esi
lea ecx, [esp + 0x20]
call fcn.004016c0
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
push eax
push edx
call fcn.00420252
push eax
call fcn.004010e0
add esp, 0xc
test esi, esi
jl 0x4054a3
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x4054a3
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0041fb80
add esp, 8
test eax, eax
je 0x40533f
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x990], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405367
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x990], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40538f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00420b94
add esp, 4
test eax, eax
je 0x4050c0
push ebp
call fcn.00420934
add esp, 4
cmp dword [esp + 0x18], 0
je 0x405728
push 0x208
lea ecx, [esp + 0x370]
push 0
push ecx
call fcn.00421360
lea edx, [esp + 0x378]
push edx
call fcn.00408630
lea eax, [esp + 0x37c]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4053e0
mov ecx, dword [str.ldcab.lddat]
mov edx, dword [0x43e8c8]
mov dword [eax], ecx
mov ecx, dword [0x43e8cc]
mov dword [eax + 4], edx
mov dl, byte [0x43e8d0]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x36c]
push eax
call fcn.004088a0
lea ecx, [esp + 0x578]
push ecx
call fcn.004088a0
push 0x208
lea edx, [esp + 0x788]
push 0
push edx
call fcn.00421360
lea eax, [esp + 0x790]
push eax
call fcn.00408630
push 0x208
lea ecx, [esp + 0x180]
push 0
push ecx
call fcn.00421360
mov eax, dword [esp + 0x9c0]
lea edx, [esp + 0x188]
add esp, 0x24
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405470
lea ecx, [esp + 0x60]
mov eax, 0x43e84c
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4054ad
test dl, dl
je 0x40549f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4054ad
add eax, 2
add ecx, 2
test dl, dl
jne 0x405483
xor eax, eax
jmp 0x4054b2
push 0x80070057
call fcn.004011d0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405508
lea edi, [esp + 0x164]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4054c0
mov dx, word [0x43e584]
lea eax, [esp + 0x60]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054d8
lea edi, [esp + 0x164]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4054f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004125a5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405522
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x1c]
push str.GetFilesInTree:_s
mov bl, 4
push edx
mov byte [esp + 0x99c], bl
call fcn.00401f40
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0
push esi
mov ecx, 0x44e3c9
call fcn.0040be50
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x168]
push ecx
call fcn.004091f0
lea edx, [esp + 0x16c]
push edx
push 2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x794]
push edx
call fcn.00402360
movzx eax, al
add esp, 0x1c
test eax, eax
je 0x405704
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x78c]
push ecx
call fcn.00403b40
mov edi, eax
add esp, 0x14
mov dword [esp + 0x2c], edi
test edi, edi
je 0x405704
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x404
je 0x405670
cmp eax, 0xc04
je 0x405670
mov eax, edi
sub eax, 1
je 0x40563a
sub eax, 1
jne 0x40569a
lea edx, [esp + 0x24]
push 0xa
push edx
call fcn.0040d030
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x9a0], 6
call fcn.00401f40
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x990], bl
call fcn.00401830
jmp 0x40569a
lea ecx, [esp + 0x28]
push 9
push ecx
call fcn.0040d030
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x9a0], 5
call fcn.00401f40
add esp, 0x10
lea ecx, [esp + 0x28]
mov byte [esp + 0x990], bl
call fcn.00401830
jmp 0x40569a
mov eax, edi
sub eax, 1
je 0x405688
sub eax, 1
jne 0x40569a
push 0x43ead8
lea eax, [esp + 0x24]
push eax
jmp 0x405692
push 0x43eac8
lea ecx, [esp + 0x24]
push ecx
call fcn.00401f40
add esp, 8
push edi
lea edx, [esp + 0x1c]
push str.UpdateLdxFile_in_WriteFileSummaryToLdf_function__failed_with_result_code:__d
push edx
call fcn.00401f40
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0
push esi
mov ecx, 0x44e3c9
call fcn.0040be50
lea eax, [esp + 0x14]
push 7
push eax
call fcn.0040d030
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
add esp, 8
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405704
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x990], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405728
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x990], 0
call fcn.00412a5d
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x990], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x988]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x970]
xor ecx, esp
call fcn.0041f914
add esp, 0x980
ret