joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47210d
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push eax
push ebx
push ecx
push edx
lea edx, [ebp - 4]
push edx
call fcn.0046ebe3
push 0x2c
call fcn.004768c5
call fcn.0047452b
cmp dword [0x405198], 0xb
je 0x47213e
cmp dword [0x405198], 0xa
jne 0x47218e
cmp dword [0x405198], 0xb
jne 0x472151
call fcn.0046c37b
lea ebx, [eax + 0x44]
jmp 0x47216c
cmp dword [0x405198], 0xa
jne 0x47216c
lea edx, [ebp - 0xc]
push edx
call fcn.00475897
mov ebx, dword [eax + 0x44]
mov ecx, dword [ebp - 0xc]
lea ebx, [ebx + ecx*4]
push 0xfde9
push dword [ebp - 4]
call fcn.00473018
cmp eax, 0xffffffff
je 0x47222a
mov dword [ebx], eax
jmp 0x47222a
cmp dword [0x405198], 9
jne 0x472213
lea edx, [ebp - 0xc]
push edx
call fcn.00475897
mov ebx, eax
push dword [ebp - 4]
call fcn.00472e39
cmp eax, 0xffffffff
je 0x47222a
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x47222a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xffffffff
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x472205
mov ecx, eax
shr ecx, 2
cmp ecx, dword [ebx + 0x50]
jle 0x4721f2
mov eax, dword [ebx + 0x50]
push 0
lea edx, [ebp - 0xc]
push edx
push eax
push dword [ebx + 0x44]
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_ReadFile]
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
jmp 0x47222a
mov esi, dword [0x4051d8]
lea edx, [ebp - 0xc]
push edx
call fcn.00475ad4
push dword [ebp - 4]
call fcn.00472e39
mov edx, dword [0x405158]
push eax
pop dword [edx + 0x44]
add edx, 0x58
pop edx
pop ecx
pop ebx
pop eax
leave
ret
Function at 0x47223d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push eax
push ebx
push ecx
push edx
push edi
lea edx, [ebp - 8]
push edx
call fcn.0046ebe3
push 0x2c
call fcn.004768c5
call fcn.0047452b
cmp dword [0x405198], 9
je 0x47226f
cmp dword [0x405198], 0xa
jne 0x4722a5
lea edx, [ebp - 0xc]
push edx
call fcn.00475897
mov edi, eax
mov ecx, dword [edi + 0x50]
lea ecx, [ecx*4]
mov dword [ebp - 0x10], ecx
push esi
push edi
push ecx
call fcn.0046bf2c
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x44]
mov edi, eax
lodsb al, byte [esi]
stosb byte es:[edi], al
sub ecx, 1
jne 0x472297
pop edi
pop esi
jmp 0x472344
cmp dword [0x405198], 3
je 0x4722d7
cmp dword [0x405198], 0xb
je 0x4722d7
cmp dword [0x405198], 8
jne 0x4722ce
cmp eax, 0xe1
jl 0x4722ce
cmp eax, 0xf4
jle 0x4722d7
cmp dword [0x405198], 0xa
jne 0x47232e
mov esi, dword [0x4051d8]
lea edx, [ebp - 0xc]
push edx
call fcn.0046ebe3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ecx, eax
add ecx, 1
push ecx
call fcn.0046bf2c
mov dword [ebp - 4], eax
push 0
push 0
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub eax, 1
mov dword [ebp - 0x10], eax
jmp 0x472344
mov esi, dword [0x4051d8]
lea edx, [ebp - 0xc]
push edx
call fcn.00475ad4
mov eax, 0xffffffff
jmp 0x47238b
push 0
push pe_nt_image_headers32
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x47238b
push eax
push 0
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x10]
push dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop eax
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.0046bf99
mov eax, dword [ebp - 0xc]
mov edx, dword [0x405158]
push eax
pop dword [edx + 0x44]
add edx, 0x58
pop edi
pop edx
pop ecx
pop ebx
pop eax
leave
ret
Function at 0x47239f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push eax
push ecx
push edx
lea edx, [ebp - 0x10]
push edx
call fcn.0046ebe3
push 0x2c
call fcn.004768c5
lea edx, [ebp - 0xc]
push edx
call fcn.0046ebe3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ecx, eax
add ecx, 1
push ecx
call fcn.0046bf2c
mov dword [ebp - 8], eax
push 0
push 0
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
push 0
push pe_nt_image_headers32
push 4
push 0
push 0
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x472461
mov dword [ebp - 0x14], eax
push 2
push 0
push 0
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x472458
push 0
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 8]
call fcn.0046bf99
mov edx, dword [0x405158]
push dword [ebp - 0xc]
pop dword [edx + 0x44]
add edx, 0x58
pop edx
pop ecx
pop eax
leave
ret

Function at 0x472b7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push ecx
push edx
push edi
push 0x20
lea edx, [ebp - 0x20]
push edx
call fcn.0046bfb4
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x240
mov dword [ebp - 0xc], 0x472bed
mov ebx, dword [0x4051a0]
mov word [ebx], 0
mov dword [ebp - 8], ebx
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.shell32_SHBrowseForFolderW]
cmp eax, 0
je 0x472be5
push edi
push eax
call dword [sym.imp.shell32_SHGetPathFromIDListW]
push edi
call dword [sym.imp.shlwapi.dll_PathQuoteSpacesW]
mov eax, edi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 8

Function at 0x472e39
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push edi
mov edi, dword [ebp + 8]
push 0
push edi
push 0
call dword [sym.imp.urlmon.dll_IsValidURL]
cmp eax, 0
jne 0x472ec4
push 4
call 0x472e64
push 0x74007400
add byte [eax], dh
add byte [eax], al
push edi
call dword [sym.imp.shlwapi.dll_StrCmpNIW]
cmp eax, 0
jne 0x472ec4
mov ebx, dword [0x40519c]
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
mov edx, dword [0x405194]
push eax
push ebx
call 0x472ea2
and eax, 0x5c007300
add byte [0x7300], ah
add byte [edx - 1], dl
adc eax, sym.imp.user32.dll_wsprintfW
add esp, 0x10
push dword [0x405194]
push edi
call fcn.0047316d
cmp eax, 0xffffffff
je 0x472ec6
mov eax, dword [0x405194]
jmp 0x472ec6
mov eax, edi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x472e64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push edi
mov edi, dword [ebp + 8]
push 0
push edi
push 0
call dword [sym.imp.urlmon.dll_IsValidURL]
cmp eax, 0
jne 0x472ec4
push 4
call 0x472e64
push 0x74007400
add byte [eax], dh
add byte [eax], al
push edi
call dword [sym.imp.shlwapi.dll_StrCmpNIW]
cmp eax, 0
jne 0x472ec4
mov ebx, dword [0x40519c]
push ebx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
mov edx, dword [0x405194]
push eax
push ebx
call 0x472ea2
and eax, 0x5c007300
add byte [0x7300], ah
add byte [edx - 1], dl
adc eax, sym.imp.user32.dll_wsprintfW
add esp, 0x10
push dword [0x405194]
push edi
call fcn.0047316d
cmp eax, 0xffffffff
je 0x472ec6
mov eax, dword [0x405194]
jmp 0x472ec6
mov eax, edi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x473018
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push ecx
push edx
push esi
push edi
call 0x473032
or dword [eax], eax
and byte [eax], al
and al, byte [eax]
daa
add byte [eax], al
add bh, bh
jne 0x47303d
call dword [sym.imp.shlwapi.dll_StrTrimW]
push dword [ebp + 8]
call fcn.00472e39
cmp eax, 0xffffffff
je 0x473164
or al, ch
idiv ch
invalid
mov dword [ebp + 8], eax
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x473164
mov dword [ebp - 0x18], eax
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x473095
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x473164
mov dword [ebp - 0x10], eax
mov ecx, eax
add eax, 0x104
push eax
call fcn.0046bf2c
mov dword [ebp - 8], eax
add ecx, ecx
add ecx, 0x10000
push ecx
call fcn.0046bf2c
mov dword [ebp - 4], eax
push ecx
call fcn.0046bf2c
mov dword [ebp - 0x14], eax
push 0
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebp - 8]
cmp byte [esi], 0xef
jne 0x4730f7
cmp byte [esi + 1], 0xbb
jne 0x4730f7
cmp byte [esi + 2], 0xbf
jne 0x4730f7
add esi, 3
mov edi, dword [ebp - 0x14]
cmp byte [esi], 0
je 0x473126
cmp byte [esi], 0xa
jne 0x47310a
cmp byte [esi - 1], 0xd
jne 0x473115
cmp byte [esi], 0xd
jne 0x473122
cmp byte [esi + 1], 0xa
je 0x473122
mov word [edi], 0xa0d
add edi, 2
add esi, 1
jmp 0x473124
lodsb al, byte [esi]
stosb byte es:[edi], al
jmp 0x4730fa
mov byte [edi], 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push dword [ebp - 0x14]
call fcn.0046bf99
push dword [ebp - 8]
call fcn.0046bf99
mov eax, dword [ebp - 4]
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x473032
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push ecx
push edx
push esi
push edi
call 0x473032
or dword [eax], eax
and byte [eax], al
and al, byte [eax]
daa
add byte [eax], al
add bh, bh
jne 0x47303d
call dword [sym.imp.shlwapi.dll_StrTrimW]
push dword [ebp + 8]
call fcn.00472e39
cmp eax, 0xffffffff
je 0x473164
or al, ch
idiv ch
invalid
mov dword [ebp + 8], eax
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x473164
mov dword [ebp - 0x18], eax
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x473095
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x473164
mov dword [ebp - 0x10], eax
mov ecx, eax
add eax, 0x104
push eax
call fcn.0046bf2c
mov dword [ebp - 8], eax
add ecx, ecx
add ecx, 0x10000
push ecx
call fcn.0046bf2c
mov dword [ebp - 4], eax
push ecx
call fcn.0046bf2c
mov dword [ebp - 0x14], eax
push 0
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebp - 8]
cmp byte [esi], 0xef
jne 0x4730f7
cmp byte [esi + 1], 0xbb
jne 0x4730f7
cmp byte [esi + 2], 0xbf
jne 0x4730f7
add esi, 3
mov edi, dword [ebp - 0x14]
cmp byte [esi], 0
je 0x473126
cmp byte [esi], 0xa
jne 0x47310a
cmp byte [esi - 1], 0xd
jne 0x473115
cmp byte [esi], 0xd
jne 0x473122
cmp byte [esi + 1], 0xa
je 0x473122
mov word [edi], 0xa0d
add edi, 2
add esi, 1
jmp 0x473124
lodsb al, byte [esi]
stosb byte es:[edi], al
jmp 0x4730fa
mov byte [edi], 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push dword [ebp - 0x14]
call fcn.0046bf99
push dword [ebp - 8]
call fcn.0046bf99
mov eax, dword [ebp - 4]
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x476e18
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push ecx
push edx
push edi
mov ebx, dword [ebp + 8]
call fcn.00472d2d
cmp word [esi], 0x5d
jne 0x476e3b
mov dword [ebp - 4], 0
xor eax, eax
jmp 0x476e47
lea edx, [ebp - 4]
push edx
call fcn.00475ad4
mov eax, dword [ebp - 4]
cmp eax, 0
jl 0x476e51
cmp eax, dword [ebx + 0x4c]
jl 0x476e56
jmp 0x4049a3
cmp dword [ebx + 0x50], 0x100000
jle 0x476e7f
push 0x1010
push 0x4042f8
push 0x4041be
push dword [0x401208]
call dword [sym.imp.user32.dll_MessageBoxW]
jmp fcn.004742d1
push 0x5d
call fcn.004768c5
lodsw ax, word [esi]
cmp ax, 0x2e
jne 0x4050d3
call fcn.00472d0e
test eax, eax
je 0x4050d3
call fcn.0047452b
cmp dword [0x405198], 5
je 0x476ec4
cmp dword [0x405198], 0xb
je 0x476ec4
cmp dword [0x405198], 6
je 0x476ec4
jmp 0x404854
mov edi, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x48]
push ecx
push edi
push 0x467210
call dword [sym.imp.kernel32.dll_lstrcmpW]
pop ecx
cmp eax, 0
jne 0x476eeb
mov eax, dword [ebp - 4]
imul eax, dword [ebx + 0x48]
imul eax, eax, 0x58
add eax, edi
jmp 0x476ef8
add edi, 0x58
sub ecx, 1
jne 0x476eca
jmp 0x4050a1
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x405a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [0x4c887c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x3447cbc0
mov eax, dword [ebp - 0x10]
mov ecx, eax
sub ecx, 0x3447cbbf
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jg 0x405aae
jmp 0x405a98
mov eax, dword [ebp - 0x14]
sub eax, 0xecc688cd
mov dword [ebp - 0x1c], eax
je 0x405b27
jmp 0x405af0
mov eax, dword [ebp - 0x14]
sub eax, 0x3447cbc0
mov dword [ebp - 0x20], eax
je 0x405af5
jmp 0x405ac4
mov eax, dword [ebp - 0x14]
sub eax, 0x44efd506
mov dword [ebp - 0x24], eax
je 0x405b13
jmp 0x405ada
mov eax, dword [ebp - 0x14]
sub eax, 0x62960b97
mov dword [ebp - 0x28], eax
je 0x405b53
jmp 0x405af0
jmp 0x405b5b
mov eax, 0xecc688cd
mov ecx, 0x44efd506
mov edx, dword [ebp - 4]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x405b5b
mov eax, dword [0x4c887c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x62960b97
jmp 0x405b5b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4c887c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x62960b97
jmp 0x405b5b
mov eax, dword [ebp - 8]
add esp, 0x28
pop ebp
ret
jmp 0x405a7c
Function at 0x4b4b6a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c81e0]
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.004b3019
mov dword [ebp - 0x14], eax
cmp dword [0x4c98c4], edi
jne 0x4b4c5b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4b4be8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b4d3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4b4d3b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b4d3b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4c98c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c98c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c98cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c98d4], eax
test eax, eax
je 0x4b4c58
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c98d0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b4c80
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b4c73
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4b4c95
push 4
pop eax
jmp 0x4b4d3d
cmp dword [ebp - 0x14], edi
je 0x4b4c95
push dword [0x4c98c4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b4c7a
mov eax, dword [0x4c98d0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4b4cf3
cmp dword [0x4c98d4], esi
je 0x4b4cf3
push eax
call ebx
push dword [0x4c98d4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b4cf3
test eax, eax
je 0x4b4cf3
call ecx
test eax, eax
je 0x4b4ce8
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 0x4b4ce8
test byte [ebp - 8], 1
jne 0x4b4cf3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4b4d23
mov eax, dword [0x4c98c8]
cmp eax, esi
je 0x4b4d20
push eax
call ebx
test eax, eax
je 0x4b4d20
call eax
mov edi, eax
test edi, edi
je 0x4b4d20
mov eax, dword [0x4c98cc]
cmp eax, esi
je 0x4b4d20
push eax
call ebx
test eax, eax
je 0x4b4d20
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c98c4]
call ebx
test eax, eax
je 0x4b4d3b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4b4d3d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4d4c
leave
ret
Function at 0x7ffe536e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
not eax
not eax
add al, 0
not eax
not eax
push es
pop ds
push bx
inc esp
inc esp
and al, 0xff
push bx
inc esp
inc esp
add al, 0
xor eax, ecx
xor eax, ecx
push es
pop ds
pushf
popf
add al, 0
xor eax, ecx
xor eax, ecx
inc esi
dec esi
not eax
not eax
inc esi
dec esi
add al, 4
sub al, 4
add al, 0
pushf
popf
and al, 0xff
add al, 4
sub al, 4
add al, 0
xor eax, ecx
xor eax, ecx
push es
pop ds
xor eax, ecx
xor eax, ecx
push es
pop ds
add al, 4
sub al, 4
add al, 0
pushf
popf
and al, 0xff
not eax
not eax
inc esi
dec esi
xor eax, ecx
xor eax, ecx
inc esi
dec esi
pushf
popf
inc esi
dec esi
not eax
not eax
push es
pop ds
xor eax, ecx
xor eax, ecx
push eax
pop eax
xor eax, ecx
xor eax, ecx
push eax
pop eax
xor eax, ecx
xor eax, ecx
push eax
pop eax
pushf
popf
add al, 0
add al, 4
sub al, 4
inc esi
dec esi
not eax
not eax
push eax
pop eax
xor eax, ecx
xor eax, ecx
inc esi
dec esi
cld
call 0x7ffe5416
pop edx
inc esi
dec esi
xor dx, dx
pushf
popf
cld
add edx, 0xd5e0
xor eax, ecx
xor eax, ecx
push es
pop ds
inc esi
dec esi
xor ecx, ecx
pushal
inc eax
popal
mov cl, 0x1e
push es
pop ds
xor byte [ecx + edx], 0x21
loop 0x7ffe5438
nop
push dword fs:[0x24]
push bx
inc esp
inc esp
pop dword [edx + 0xa]
and al, 0xff
not eax
not eax
stc
mov cl, 0xff
not eax
not eax
and al, 0xff
push edx
loop 0x7ffe545c
clc
mov dword [edx + 0x11], 0xffffacbb
push es
pop ds
add al, 0
mov ecx, dword [eax + 0x2c]
push es
pop ds
add al, 4
sub al, 4
add al, 0
push edx
cdq
pop edx
mov dword [edx + 0x1b], ecx
and al, 0xff
xor eax, ecx
xor eax, ecx
mov dword [edx + 0x100], ecx
push es
pop ds
pushal
inc eax
popal
mov dword [eax + 0x2c], esp
push es
pop ds
push es
pop ds
push 0
lea esp, [esp]
push 0
and al, 0xff
push 0
push es
pop ds
clc
push eax
pop eax
push 0
add al, 4
sub al, 4
push 0x30
push es
pop ds
not eax
not eax
inc esi
dec esi
inc esi
dec esi
cld
push 0x20
not eax
not eax
add al, 0
push 0
stc
push 0
and al, 0xff
push es
pop ds
add edx, 0xffff7f37
pushal
inc eax
popal
push edx
pushf
popf
and al, 0xff
push edx
add al, 4
sub al, 4
clc
push 0
add al, 4
sub al, 4
call dword [edx + 0x820c]
pushal
inc eax
popal
add esp, 0x3f8
pushf
popf
push es
pop ds
xor eax, eax
push bx
inc esp
inc esp
push eax
pop eax
and al, 0xff
cld
inc eax
pushf
popf
ret 0xc
Function at 0x47e692
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4cf67d9f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x109562aa
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219