joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b7b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [0x40c804]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x8dcbd8d2
jmp 0x40b7f0
mov dword [ebp - 0x28], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x28]
cmp eax, 0xc58f957d
jg 0x40b820
cmp eax, 0x8dcbd8d2
jne 0x40b7f0
mov eax, 0x4e695769
cmp dword [ebp - 0x14], 0
je 0x40b7e3
mov eax, 0xb0a0ae5
jmp 0x40b7e3
cmp eax, 0xc70c4325
jg 0x40b850
cmp eax, 0xc58f957e
jne 0x40b7f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x41d11c], eax
call fcn.0041357f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x5c2bf7d2
jmp 0x40b7f0
cmp eax, 0xb0a0ae4
jg 0x40b8ab
cmp eax, 0xc70c4326
jne 0x40b7f0
mov dword [esp], 0
call fcn.0040ba00
mov esi, eax
call fcn.00402030
imul eax, esi
mov dword [esp], eax
call fcn.004135a2
mov eax, dword [ebp - 0x1c]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00403c90
mov ecx, dword [ebp - 0x1c]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add eax, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0x6701c43d
jmp 0x40b7f0
cmp eax, 0x2265cc60
jg 0x40b8c9
cmp eax, 0xb0a0ae5
jne 0x40b7f0
mov dword [ebp - 0x28], 0x6701c43d
jmp 0x40b7f0
cmp eax, 0x4e695768
jg 0x40b8e7
cmp eax, 0x2265cc61
jne 0x40b7f0
mov dword [ebp - 0x28], 0x6051f116
jmp 0x40b7f0
cmp eax, 0x5c2bf7d1
jg 0x40b8fe
cmp eax, 0x4e695769
jne 0x40b7f0
jmp 0x40b9b4
cmp eax, 0x6051f115
jg 0x40b91c
cmp eax, 0x5c2bf7d2
jne 0x40b7f0
mov dword [ebp - 0x28], 0x6051f116
jmp 0x40b7f0
cmp eax, 0x6701c43c
jg 0x40b940
cmp eax, 0x6051f116
jne 0x40b7f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x7ca012a1
jmp 0x40b7f0
cmp eax, 0x7a03cf60
jg 0x40b9a6
cmp eax, 0x6701c43d
jne 0x40b7f0
mov dword [esp], 0
call fcn.0040ba00
mov esi, eax
call fcn.00402030
imul eax, esi
mov dword [esp], eax
call fcn.004135a2
mov eax, dword [ebp - 0x1c]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00403c90
mov ecx, dword [ebp - 0x1c]
movzx edi, word [ecx + eax*2 - 2]
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add eax, edi
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
sete byte [ebp - 0xd]
mov dword [ebp - 0x28], 0x7a03cf61
jmp 0x40b7f0
cmp eax, 0x7a03cf61
je 0x40b9c7
cmp eax, 0x7c8a2672
jne 0x40b9e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0x5c2bf7d2
jmp 0x40b7f0
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0xc58f957e
jne 0x40b9d8
mov eax, 0x7c8a2672
mov dword [ebp - 0x28], eax
jmp 0x40b7f0
cmp eax, 0x7ca012a1
jne 0x40b7f0
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop esi
pop edi
pop ebp
ret
Function at 0x41b5aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418407
mov dword [ebp - 0x14], eax
cmp dword [0x465c70], edi
jne 0x41b69b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41b628
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41b77b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b77b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b77b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x465c70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x465c74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x465c78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465c80], eax
test eax, eax
je 0x41b698
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465c7c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b6c0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b6b3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41b6d5
push 4
pop eax
jmp 0x41b77d
cmp dword [ebp - 0x14], edi
je 0x41b6d5
push dword [0x465c70]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41b6ba
mov eax, dword [0x465c7c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41b733
cmp dword [0x465c80], esi
je 0x41b733
push eax
call ebx
push dword [0x465c80]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41b733
test eax, eax
je 0x41b733
call ecx
test eax, eax
je 0x41b728
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41b728
test byte [ebp - 8], 1
jne 0x41b733
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41b763
mov eax, dword [0x465c74]
cmp eax, esi
je 0x41b760
push eax
call ebx
test eax, eax
je 0x41b760
call eax
mov edi, eax
test edi, edi
je 0x41b760
mov eax, dword [0x465c78]
cmp eax, esi
je 0x41b760
push eax
call ebx
test eax, eax
je 0x41b760
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x465c70]
call ebx
test eax, eax
je 0x41b77b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41b77d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041551d
leave
ret
Function at 0x10008270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10089080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0xb4166072
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
sub eax, 0xb4166072
je 0x100082c2
jmp 0x100082aa
mov eax, dword [ebp - 0x20]
sub eax, 0x24a8c2d9
je 0x100082d4
jmp 0x100082bd
jmp 0x1000831b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x24a8c2d9
jmp 0x1000831b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x64
sub byte [edi], 0x88
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x100082ea
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100251e0
add esp, 0x1c
pop edi
pop ebp
ret
jmp 0x10008294
Function at 0x1002a1fa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002a239
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a239
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a239
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002a239
cmp dword [ecx + 0x74], 0xe
jbe 0x1002a239
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002cbc4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002cc61
push ebx
push esi
call fcn.1002cb8d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002cb21
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002cc0e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002cc60
push edi
push eax
call fcn.1002b4c2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002cc2e
call fcn.1002b510
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002cc5f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002cb21
add esp, 0x20
test eax, eax
jne 0x1002cc4d
push edi
call fcn.1002b510
jmp 0x1002cc55
push ebx
call fcn.1002b510
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002cece
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100352e0
push 0x100352d8
push str.FlsAlloc
push 0x1f
call fcn.1002cdea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cf02
push dword [ebp + 8]
mov ecx, esi
call dword [0x10033154]
call esi
jmp 0x1002cf08
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002cf4c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100352f0
push 0x100352e8
push str.FlsGetValue
push 0x21
call fcn.1002cdea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cf83
push dword [ebp + 8]
mov ecx, esi
call dword [0x10033154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002cf8b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100352f8
push 0x100352f0
push str.FlsSetValue
push 0x22
call fcn.1002cdea
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002cfc5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10033154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100324d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100324fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100324fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401480
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4f4320]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push 0x104
mov ebx, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00479a10
add esp, 0xc
cmp dword [esi + 0x18], 8
lea ebp, [esi + 4]
jb 0x4014cd
mov eax, dword [ebp]
jmp 0x4014cf
mov eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 1
call edi
cmp dword [esi + 0x18], 8
jb 0x4014f2
mov ecx, dword [ebp]
jmp 0x4014f4
mov ecx, ebp
xor ebp, ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push ecx
push ebp
push 1
call edi
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
push eax
lea edx, [esp + 0x18]
call fcn.004012a0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push ebp
push esi
push 0x401220
push ebp
push ebp
mov dword [esp + 0x28], ebp
call fcn.004821cf
add esp, 0x18
cmp eax, ebp
mov dword [esi + 0x10], eax
pop edi
je 0x401566
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40155e
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 4]
mov al, byte [eax + 4]
jmp 0x40156c
mov ecx, dword [ebx + 4]
mov al, byte [ecx + 4]
jmp 0x40156c
mov edx, dword [ebx + 4]
mov al, byte [edx + 4]
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a020
add esp, 0x10c
ret 8
Function at 0x402300
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cce78
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4f4320]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x4f4320]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4e23a0
mov byte [ecx + 4], bl
call fcn.00401800
push ebx
mov byte [esp + 0x644], 3
call fcn.0047cc74
push eax
call fcn.00480105
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00479a10
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x402461
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.00479a10
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40243e
cmp eax, ebx
je 0x40243e
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.00403660
jmp 0x402461
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402445
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00401a60
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x402498
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x402475
call fcn.0047a594
cmp dword [edi + 0x18], 8
jb 0x402480
mov eax, dword [edi + 4]
jmp 0x402483
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x402498
push 1
push 0x4e23a4
mov ecx, edi
call fcn.00403b40
cmp dword [esi + 0x38], ebx
jne 0x4024ab
push 3
push 0x4e23a8
mov ecx, edi
call fcn.00401a60
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0047a020
add esp, 0x634
ret
Function at 0x403e90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ccf48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4f4320]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00401d40
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403ef0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403b40
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.00401d40
cmp dword [esp + 0x28], 8
jb 0x403f3b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00459a2b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x404ca0
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x404cdf
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x404cdf
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x406fa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x4cebec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x406fc6
xor eax, eax
jmp 0x40708c
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4cec1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x4cec4c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x407057
xor eax, eax
jmp 0x40708c
push 0x4ceca4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4114d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call fcn.00427ea0
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call fcn.004281c0
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
call fcn.00427ac0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
call fcn.00428150
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
call fcn.00428070
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
call fcn.004280e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 0x1a0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1b8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1a8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
add eax, 0x1e8
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
add ecx, 0x1c8
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x1d8
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 4]
mov ecx, dword [0x4f61a0]
mov dword [eax + 0x190], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4115a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00403640
push str.Skin_
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00403690
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4115f3
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.00401670
push eax
call fcn.00414570
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x411600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00479a10
add esp, 0xc
push str.AllSkin
mov ecx, dword [ebp - 0x214]
add ecx, 0x40
call fcn.00401670
push eax
push 0x4d079c
lea ecx, [ebp - 0x210]
push ecx
call fcn.00479b88
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411680
lea eax, [ebp - 0x210]
push eax
call fcn.00414570
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret