Function at 0x41ced0
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x45b480]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 5
push SysReAllocStringLen
push eax
mov dword [ebp - 0x8c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xac], esi
cmp esi, 0xffffffff
jne 0x41cf3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x41cf35
test esi, 0xffff0000
jne 0x41d86e
or esi, 0x80070000
jmp 0x41d86e
mov esi, 0x80004005
jmp 0x41d86e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x41cf72
mov esi, 0x8007000e
jmp 0x41d86e
lea eax, [ebp - 0x98]
mov dword [ebp - 0x34], 0x455dc0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00426d30
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x41cfb6
mov edx, dword [ecx]
lea eax, [ebp - 0x34]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x98]
push dword [ebp - 0x94]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41cff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x41d026
test esi, 0xffff0000
jne 0x41d866
or esi, 0x80070000
jmp 0x41d866
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41d00e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41d018
mov dword [ebp - 0xac], 0xffffffff
mov edx, dword [ebp - 0x98]
cmp edx, dword [ebp - 0xa8]
je 0x41d030
mov esi, 0x80004005
jmp 0x41d866
mov ebx, dword [ebp - 0x94]
mov ecx, ebx
call fcn.0041bff0
mov esi, eax
or edi, 0xffffffff
test esi, esi
jne 0x41d122
mov eax, 0x94
mov dword [ebp - 0xbc], 0x2400
lea edx, [ebp - 0xbc]
mov dword [ebp - 0xb8], 0x8004
mov dword [ebp - 0xb4], 0x455cb8
mov word [ebp - 0xb0], ax
call fcn.0041bc80
mov esi, eax
test esi, esi
jne 0x41d866
lea edx, [ebp - 0x88]
mov dword [ebp - 0x88], eax
mov ecx, ebx
call fcn.0041bfa0
mov esi, eax
test esi, esi
jne 0x41d866
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
mov eax, 0x10
mov dword [ebp - 0x1c], 0x60304a6f
push ecx
mov edx, ebx
mov dword [ebp - 0x18], 0x39234f28
lea ecx, [ebx + 4]
mov dword [ebp - 0x14], 0x44614c7e
mov dword [ebp - 0x10], 0x24254765
mov dword [ebp - 0xbc], 0x660e
mov dword [ebp - 0xb8], 0x8004
mov word [ebp - 0xb0], ax
call fcn.0041c030
mov esi, eax
test esi, esi
jne 0x41d866
lea eax, [ebx + 4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx]
mov dword [ebp - 0xc4], eax
jmp 0x41d21c
cmp esi, 0x8007000b
jne 0x41d866
cmp edx, 0x28
jb 0x41d861
cmp dword [ebx], 0x4643534d
jne 0x41d861
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebx + 0x24]
test ax, ax
je 0x41d861
mov esi, eax
mov dword [ebp - 0x90], esi
call fcn.00402506
mov ecx, eax
test ecx, ecx
je 0x41d88e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x88]
push esi
mov dword [ebp - 0x88], eax
call fcn.00422580
lea esi, [ebx + 0x28]
mov edi, eax
mov ebx, dword [ebp - 0x90]
push ebx
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x98]
add esp, 0xc
push ebx
push edi
call fcn.0041cd60
mov edx, dword [ebp - 0x88]
mov esi, eax
add edx, 0xfffffff0
test esi, esi
je 0x41d1ed
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d866
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d866
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d204
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
call fcn.0040d286
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x90]
call fcn.00415584
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [eax]
call fcn.00415474
mov edx, dword [ebp - 0x90]
mov esi, eax
add esp, 4
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d27c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x41d447
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x34], 0x455c88
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x10], eax
call fcn.00411b06
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41d2be
mov edx, dword [ecx]
lea eax, [ebp - 0x34]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push str.index.xml
lea ecx, [ebp - 0x88]
call fcn.00402969
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040c6e3
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov esi, dword [eax]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41d304
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [ebp - 0xa0]
je 0x41d437
mov eax, dword [esi + 0x14]
push ecx
mov ecx, esp
push dword [eax]
push dword [eax + 4]
call fcn.00422470
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebx + 0x28]
call fcn.00421e30
push dword [esi + 0x14]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
push esi
push eax
call fcn.0040cfb0
mov edi, dword [ebx + 0x44]
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x41d437
mov eax, dword [edi]
test eax, eax
jne 0x41d369
mov eax, 0x44c488
mov ecx, str.OfflineSyncPackage
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d390
test dl, dl
je 0x41d38c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d390
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d370
xor eax, eax
jmp 0x41d395
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41d437
push 0x45bab8
push 0x14
call fcn.00437440
mov esi, eax
add esp, 8
test esi, esi
je 0x41d3e6
mov dword [esi], 0x455c60
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0040d286
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00424380
mov dword [esi + 0xc], eax
jmp 0x41d3e8
xor esi, esi
mov dword [ebx + 0x6c], esi
test esi, esi
jne 0x41d3f6
mov esi, 0x8007000e
jmp 0x41d43c
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x41d437
lea ecx, [ecx]
mov edx, dword [ecx]
test edx, edx
je 0x41d430
cmp dword [ecx + 8], 7
jne 0x41d430
cmp dword [edx], 0x61647055
jne 0x41d42a
movzx eax, word [edx + 4]
cmp ax, 0x6574
jne 0x41d42a
movzx eax, byte [edx + 6]
cmp al, 0x73
jne 0x41d42a
mov al, 1
jmp 0x41d42c
xor al, al
test al, al
jne 0x41d457
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jne 0x41d400
mov esi, 0x8007000b
lea ecx, [ebp - 0x84]
call fcn.00411ad6
lea ecx, [ebp - 0xa0]
call fcn.0040c71b
jmp 0x41d866
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x88], edi
test edi, edi
je 0x41d75d
jmp 0x41d470
cmp dword [edi + 0x18], 1
jne 0x41d74c
mov eax, dword [edi + 0x24]
mov ecx, eax
test ecx, ecx
je 0x41d596
mov edx, dword [ecx]
test edx, edx
je 0x41d4ae
cmp dword [ecx + 8], 8
jne 0x41d4ae
cmp dword [edx], 0x75427349
jne 0x41d4a8
cmp dword [edx + 4], 0x656c646e
jne 0x41d4a8
mov dl, 1
jmp 0x41d4aa
xor dl, dl
test dl, dl
jne 0x41d4ba
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x41d487
jmp 0x41d596
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x41d4c6
mov ecx, 0x44c488
mov edx, str.true
jmp 0x41d4d0
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x41d4f0
test bl, bl
je 0x41d4ec
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x41d4f0
add ecx, 2
add edx, 2
test bl, bl
jne 0x41d4d0
xor ecx, ecx
jmp 0x41d4f5
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x41d596
test eax, eax
je 0x41d538
mov ecx, dword [eax]
test ecx, ecx
je 0x41d531
cmp dword [eax + 8], 0xc
jne 0x41d531
cmp dword [ecx], 0x61657243
jne 0x41d52b
cmp dword [ecx + 4], 0x6e6f6974
jne 0x41d52b
cmp dword [ecx + 8], 0x65746144
jne 0x41d52b
mov cl, 1
jmp 0x41d52d
xor cl, cl
test cl, cl
jne 0x41d53a
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x41d501
xor eax, eax
test eax, eax
je 0x41d596
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41d54a
mov eax, dword [eax + 0xc]
jmp 0x41d551
xor eax, eax
mov ecx, 0x44c488
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [esi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], edi
call fcn.00426e70
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [esi + 0x10]
call fcn.00429b40
mov esi, dword [edi + 0x24]
test esi, esi
je 0x41d74c
mov eax, dword [esi]
test eax, eax
je 0x41d5c8
cmp dword [esi + 8], 8
jne 0x41d5c8
cmp dword [eax], 0x61647055
jne 0x41d5c2
cmp dword [eax + 4], 0x64496574
jne 0x41d5c2
mov al, 1
jmp 0x41d5c4
xor al, al
test al, al
jne 0x41d5d4
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x41d5a1
jmp 0x41d74c
mov eax, dword [esi + 4]
test eax, eax
jne 0x41d5e0
mov eax, 0x44c488
push eax
call dword [sym.imp.msvcrt.dll__strlwr]
mov edi, dword [esi + 4]
add esp, 4
test edi, edi
je 0x41d5f6
mov ebx, dword [esi + 0xc]
jmp 0x41d5fd
xor ebx, ebx
mov edi, 0x44c488
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x20], edi
push ecx
lea ecx, [eax + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004225d0
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
cmp esi, dword [eax + 8]
je 0x41d70d
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
cmp ebx, edx
jae 0x41d6ad
sub ebx, 4
jb 0x41d666
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x41d66b
add edi, 4
add ecx, 4
sub ebx, 4
jae 0x41d655
cmp ebx, 0xfffffffc
je 0x41d6a4
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x41d698
cmp ebx, 0xfffffffd
je 0x41d6a4
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x41d698
cmp ebx, 0xfffffffe
je 0x41d6a4
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x41d698
cmp ebx, 0xffffffff
je 0x41d6a4
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x41d6a4
sbb eax, eax
or eax, 1
test eax, eax
setle al
jmp 0x41d703
xor eax, eax
test eax, eax
setle al
jmp 0x41d703
sub edx, 4
jb 0x41d6c3
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x41d6c8
add edi, 4
add ecx, 4
sub edx, 4
jae 0x41d6b2
cmp edx, 0xfffffffc
je 0x41d6fc
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x41d6f5
cmp edx, 0xfffffffd
je 0x41d6fc
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x41d6f5
cmp edx, 0xfffffffe
je 0x41d6fc
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x41d6f5
cmp edx, 0xffffffff
je 0x41d6fc
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x41d6fc
sbb eax, eax
or eax, 1
jmp 0x41d6fe
xor eax, eax
test eax, eax
sets al
test al, al
je 0x41d743
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0xc8], ecx
lea ebx, [eax + 8]
lea ecx, [ebp - 0xc8]
push ecx
push ecx
mov ecx, ebx
call fcn.0042ab90
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
call fcn.0042b2e0
mov esi, dword [ebp - 0xcc]
mov edi, dword [ebp - 0x88]
mov dword [esi + 0x24], edi
mov edi, dword [edi + 0x30]
mov dword [ebp - 0x88], edi
test edi, edi
jne 0x41d470
mov edi, dword [ebp - 0xa4]
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x41d437
mov edi, edi
mov ecx, dword [edi]
test ecx, ecx
je 0x41d7a7
cmp dword [edi + 8], 0xd
jne 0x41d7a7
mov edx, str.FileLocations
mov esi, 9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41d7a1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x41d786
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x41d7a1
mov al, 1
jmp 0x41d7a3
xor al, al
test al, al
jne 0x41d7b3
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x41d770
jmp 0x41d437
push ecx
push 0
push 0
mov ecx, edi
call fcn.00413337
mov esi, eax
test esi, esi
je 0x41d845
lea esp, [esp]
cmp dword [esi + 0x18], 1
jne 0x41d833
push ecx
push 2
push 0x454a1c
mov ecx, esi
call fcn.00413578
push ecx
push 3
push 0x455934
mov ecx, esi
mov edi, eax
call fcn.00413578
mov ebx, eax
test edi, edi
je 0x41d833
test ebx, ebx
je 0x41d833
sub esp, 8
mov ecx, edi
call fcn.004132b7
push eax
call fcn.004132c2
push eax
lea ecx, [ebp - 0x20]
call fcn.00421f70
mov ecx, dword [ebp - 0x8c]
push eax
lea ecx, [ecx + 0x18]
call fcn.004218b0
mov ecx, ebx
mov edx, eax
call fcn.004132c2
mov dword [edx], eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.004132cf
mov esi, eax
test esi, esi
jne 0x41d7d0
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [eax + 0x6c]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
jmp 0x41d43c
mov esi, 0x8007000b
lea ecx, [ebp - 0x5c]
call fcn.00411ad6
lea ecx, [ebp - 0xac]
call fcn.00411dea
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004488a4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402310
int3