joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4272e0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x299c
call fcn.00440d40
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0x2998], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x28a1]
push 0
push eax
mov edi, ecx
mov byte [esp + 0x28a8], 0
call fcn.004315d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x28a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.iphlpapi.dll
lea edx, [esp + 0x28a0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x289c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x427372
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x2998]
xor ecx, esp
call fcn.00429d78
add esp, 0x299c
ret
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427443
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], 0x2880
call eax
test eax, eax
jne 0x427443
push ebx
mov ebx, edi
lea eax, [esp + 0xe]
push ebp
lea esi, [esp + 0x24]
mov dword [esp + 0x18], 3
sub ebx, eax
lea ecx, [esi + 8]
call fcn.004274a0
xor ecx, ecx
mov ebp, eax
mov dword [esp + 0x12], ecx
mov word [esp + 0x16], cx
lea ecx, [ecx]
lea edx, [esp + ecx + 0x12]
mov al, byte [ebx + edx]
cmp al, byte [edx]
jne 0x4273e5
add ecx, 1
cmp ecx, 6
jb 0x4273d0
jmp 0x4273f4
cmp dword [esi + 0x1a0], 6
jne 0x427433
cmp dword [esp + 0x18], ebp
jle 0x427433
movzx ecx, byte [esi + 0x194]
mov byte [edi], cl
movzx edx, byte [esi + 0x195]
mov byte [edi + 1], dl
movzx eax, byte [esi + 0x196]
mov byte [edi + 2], al
movzx ecx, byte [esi + 0x197]
mov byte [edi + 3], cl
movzx edx, byte [esi + 0x198]
mov byte [edi + 4], dl
movzx eax, byte [esi + 0x199]
mov byte [edi + 5], al
mov dword [esp + 0x18], ebp
mov esi, dword [esi]
test esi, esi
jne 0x4273b8
mov esi, dword [esp + 0x1c]
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea ecx, [esp + 0xa]
mov dword [esp + 0xa], eax
mov word [esp + 0xe], ax
sub edi, ecx
jmp 0x427460
lea ecx, [esp + eax + 0xa]
mov dl, byte [edi + ecx]
cmp dl, byte [ecx]
jne 0x427495
add eax, 1
cmp eax, 6
jb 0x427460
mov al, 1
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [esp + 0x29a0]
pop edi
pop esi
xor ecx, esp
call fcn.00429d78
add esp, 0x299c
ret
xor al, al
jmp 0x427475
Function at 0x4274a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push connect
mov esi, ecx
mov ebx, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x42762d
push esi
lea ecx, [esp + 0x24]
push str._sConnection
push ecx
mov eax, 0x103
call fcn.00427650
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x427626
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
mov dword [esp + 0x24], 0
call esi
test eax, eax
jne 0x42761f
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.004315d0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x42761f
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x427611
push ebx
lea edx, [esp + 0x24]
push 0x44dac8
push edx
call fcn.0042e394
add esp, 0xc
test eax, eax
jne 0x4275ec
xor ebx, ebx
jmp 0x42761f
cmp dword [esp + 0xc], esi
jne 0x427611
push 3
lea eax, [esp + 0x24]
push 0x44dac8
push eax
call fcn.0042e394
add esp, 0xc
test eax, eax
je 0x427611
mov ebx, 2
jmp 0x42761f
xor ebx, ebx
cmp dword [esp + 0xc], 2
setne bl
lea ebx, [ebx + ebx + 1]
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0x1c]
push edx
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00429d78
add esp, 0x11c
ret
Function at 0x429d78
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4555b4]
jne 0x429d82
repz ret
jmp fcn.004326ff
Function at 0x42dfad
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x42dfea
cmp dword [ebp + 0x14], edi
je 0x42dfea
cmp ecx, edi
jne 0x42dff1
call fcn.004308e3
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042aae9
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x42e005
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x42e026
cmp ebx, 0xffffffff
je 0x42e015
push ebx
push edi
push ecx
call fcn.004315d0
add esp, 0xc
cmp esi, edi
je 0x42dfd2
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x42dfd2
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x42e042
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x42e049
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x42e13a
test word [esi + 0xc], 0x10c
je 0x42e09d
mov eax, dword [esi + 4]
test eax, eax
je 0x42e09d
jl 0x42e19b
cmp ebx, eax
mov edi, ebx
jb 0x42e06e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x42e142
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0042ab78
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x42e132
cmp ebx, dword [ebp - 0xc]
jb 0x42e10a
cmp dword [ebp - 0xc], 0
je 0x42e0c7
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x42e0bc
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x42e0c3
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x42e0d2
mov eax, closesocket
cmp ebx, eax
ja 0x42e0d2
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x42e16e
push eax
push dword [ebp - 8]
push esi
call fcn.00437767
pop ecx
push eax
call fcn.0043b872
add esp, 0xc
test eax, eax
je 0x42e1ad
cmp eax, 0xffffffff
je 0x42e19b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x42e132
push esi
call fcn.00438209
cmp eax, 0xffffffff
pop ecx
je 0x42e19f
cmp dword [ebp - 4], 0
je 0x42e16e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x42e051
mov eax, dword [ebp + 0x14]
jmp 0x42dfec
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x42e159
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004315d0
add esp, 0xc
call fcn.004308e3
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x42dfe2
cmp dword [ebp + 0xc], 0xffffffff
je 0x42e184
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004315d0
add esp, 0xc
call fcn.004308e3
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x42dfe2
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x42dfec
or dword [esi + 0xc], 0x10
jmp 0x42e19f
Function at 0x43434c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x455bf0]
je 0x434367
inc edi
cmp edi, 0x17
jb 0x434358
cmp edi, 0x17
jae 0x4344e7
push ebp
push 3
call fcn.0043f43c
cmp eax, 1
pop ecx
je 0x4344b3
push 3
call fcn.0043f43c
test eax, eax
pop ecx
jne 0x43439b
cmp dword [0x45512c], 1
je 0x4344b3
cmp ebx, 0xfc
je 0x4344e6
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x457c48
push ebp
call fcn.004351d5
add esp, 0xc
test eax, eax
je 0x4343d1
push esi
push esi
push esi
push esi
push esi
call fcn.0042a9ed
add esp, 0x14
push 0x104
mov esi, 0x457c61
push esi
push 0
mov byte [0x457d65], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x434415
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004351d5
add esp, 0xc
test eax, eax
je 0x434415
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042a9ed
add esp, 0x14
push esi
call fcn.0042e7b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43445a
push esi
call fcn.0042e7b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x457f5c
push 0x44a7dc
sub ecx, eax
push ecx
push eax
call fcn.0042bb57
add esp, 0x14
test eax, eax
je 0x43445a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042a9ed
add esp, 0x14
jmp 0x43445c
xor esi, esi
push 0x44a7d8
push ebx
push ebp
call fcn.0043688f
add esp, 0xc
test eax, eax
je 0x43447c
push esi
push esi
push esi
push esi
push esi
call fcn.0042a9ed
add esp, 0x14
push dword [edi*8 + 0x455bf4]
push ebx
push ebp
call fcn.0043688f
add esp, 0xc
test eax, eax
je 0x43449e
push esi
push esi
push esi
push esi
push esi
call fcn.0042a9ed
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043f27f
add esp, 0xc
jmp 0x4344e6
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4344e6
cmp ebp, 0xffffffff
je 0x4344e6
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x455bf4]
push dword [esi]
call fcn.0042e7b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43f27f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00432f9a
xor ebx, ebx
cmp dword [0x458358], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43f355
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43f435
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43f435
push eax
call fcn.00432f2c
mov dword [esp], 0x44ba08
push edi
mov dword [0x458358], eax
call esi
push eax
call fcn.00432f2c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45835c], eax
call esi
push eax
call fcn.00432f2c
mov dword [0x458360], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042a770
test eax, eax
pop ecx
pop ecx
je 0x43f323
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a9ed
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43f355
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00432f2c
cmp eax, ebx
pop ecx
mov dword [0x458368], eax
je 0x43f355
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432f2c
pop ecx
mov dword [0x458364], eax
mov eax, dword [0x458364]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43f3da
cmp dword [0x458368], ecx
je 0x43f3da
push eax
call fcn.00432fa3
push dword [0x458368]
mov esi, eax
call fcn.00432fa3
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43f3da
cmp edi, ebx
je 0x43f3da
call esi
cmp eax, ebx
je 0x43f3a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f3a7
test byte [ebp - 0x18], 1
jne 0x43f3da
lea eax, [ebp - 0x10]
push eax
call fcn.0042a7a7
test eax, eax
pop ecx
je 0x43f3c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042a9ed
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43f3d1
or dword [ebp + 0x10], 0x200000
jmp 0x43f415
or dword [ebp + 0x10], 0x40000
jmp 0x43f415
mov eax, dword [0x45835c]
cmp eax, dword [ebp - 8]
je 0x43f415
push eax
call fcn.00432fa3
cmp eax, ebx
pop ecx
je 0x43f415
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43f415
mov eax, dword [0x458360]
cmp eax, dword [ebp - 8]
je 0x43f415
push eax
call fcn.00432fa3
cmp eax, ebx
pop ecx
je 0x43f415
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x458358]
call fcn.00432fa3
cmp eax, ebx
pop ecx
je 0x43f435
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f437
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402f08
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
xor esi, esi
push ebx
mov dword [ebp + esi*4 - 0x410], esi
call fcn.00411712
pop ecx
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
inc esi
movzx eax, byte [edx + ebx]
mov dword [ebp + esi*4 - 0x814], eax
cmp esi, 0x100
jl 0x402f1b
xor edx, edx
mov ecx, dword [ebp + edx - 0x810]
lea eax, [ebp + edx - 0x410]
mov esi, dword [eax]
add ecx, esi
add edi, ecx
and edi, 0x800000ff
jns 0x402f6b
dec edi
or edi, 0xffffff00
inc edi
lea ecx, [ebp + edi*4 - 0x410]
mov ebx, dword [ecx]
add edx, 4
mov dword [eax], ebx
mov dword [ecx], esi
cmp edx, 0x400
jl 0x402f47
push dword [ebp + 8]
call fcn.00411712
inc eax
push eax
call fcn.00418cba
push dword [ebp + 8]
mov esi, eax
xor edi, edi
mov dword [ebp - 8], esi
xor ebx, ebx
mov dword [ebp - 4], edi
call fcn.00411712
add esp, 0xc
test eax, eax
jle 0x40304b
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 0xc], eax
jmp 0x402fc1
mov ebx, dword [ebp - 0x10]
inc edi
and edi, 0x800000ff
jns 0x402fd2
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi*4 - 0x410]
mov ecx, dword [eax]
lea edx, [ecx + ebx]
and edx, 0x800000ff
jns 0x402fee
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
lea edx, [ebp + edx*4 - 0x410]
mov ebx, dword [edx]
mov dword [eax], ebx
mov dword [edx], ecx
mov eax, dword [eax]
add eax, ecx
and eax, 0x800000ff
jns 0x403010
dec eax
or eax, 0xffffff00
inc eax
mov cl, byte [esi]
movzx edx, cl
lea eax, [ebp + eax*4 - 0x410]
cmp dword [eax], edx
jne 0x403028
mov eax, dword [ebp - 0xc]
mov byte [eax + esi], cl
jmp 0x403032
mov al, byte [eax]
xor al, cl
mov ecx, dword [ebp - 0xc]
mov byte [ecx + esi], al
push dword [ebp + 8]
inc dword [ebp - 4]
inc esi
call fcn.00411712
pop ecx
cmp dword [ebp - 4], eax
jl 0x402fbe
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, dword [ebp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x404db2
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41ea4a
call fcn.00418ca8
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0041055a
lea eax, [ebp - 0xa4]
push eax
call fcn.00404654
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x640164]
push eax
call dword [0x6400fc]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0041074d
push eax
call dword [0x640060]
push dword [0x62f33c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x64013c]
test eax, eax
jne 0x404e44
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x404f78
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x640160]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x404f6f
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62f188]
push dword [ebp - 0x3c]
push str.dClxg
push dword [ebp - 0x24]
call dword [0x640194]
mov edi, eax
cmp edi, ebx
je 0x404f68
cmp esi, ebx
je 0x404ebc
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63ff68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x640128]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x6401ac]
test eax, eax
jne 0x404f0c
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0041058e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0041058e
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x404f9e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00411677
pop ecx
cmp eax, 0xc8
jne 0x404ee9
cmp esi, ebx
je 0x404f68
jmp 0x404f63
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x640088]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x404f68
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.004116c8
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x404f44
cmp dword [ebp - 0x10], ebx
ja 0x404f26
push edi
call dword [0x64005c]
push dword [ebp - 0x24]
call dword [0x64005c]
push dword [ebp - 0x18]
call dword [0x64005c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0041058e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0041058e
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x405b2a
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41ec50
call fcn.00418ca8
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0041055a
lea eax, [ebp - 0xb4]
push eax
call fcn.00404654
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4259fe
lea ecx, [ebp - 0x30]
call fcn.00410523
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0041074d
push eax
call dword [0x640060]
push dword [0x62f33c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x64013c]
test eax, eax
jne 0x405bb1
inc esi
cmp dword [ebp - 0x10], ebx
je 0x405cf5
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x640160]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x405cec
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62f188]
push dword [ebp - 0x4c]
push 0x425b34
push dword [ebp - 0x1c]
call dword [0x640194]
mov edi, eax
cmp edi, ebx
je 0x405ce3
cmp esi, ebx
je 0x405c29
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63ff68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x640128]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x6401ac]
test eax, eax
jne 0x405c68
mov ecx, dword [ebp + 8]
push 0x425b38
call fcn.00410523
jmp 0x405d01
lea eax, [ebp - 0x1b4]
push eax
call fcn.00411677
pop ecx
cmp eax, 0xc8
jne 0x405d3d
cmp esi, ebx
je 0x405cdc
mov esi, 0x7cf
jmp 0x405cc5
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x405cdc
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041069c
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004105e1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0041058e
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x640088]
cmp eax, ebx
jne 0x405c8b
push edi
call dword [0x64005c]
push dword [ebp - 0x1c]
call dword [0x64005c]
push dword [ebp - 0x10]
call dword [0x64005c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0041055a
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0041058e
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0041058e
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0041058e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x425b40
call fcn.00410523
jmp 0x405d01
Function at 0x4065a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x4065be
xor eax, eax
inc eax
jmp 0x406650
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40664d
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40664d
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x4065b6
cmp dword [edi], 0x4550
jne 0x40664d
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x40664d
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40664d
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.004116fb
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406624
push 3
jmp 0x40664f
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x406650
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406c36
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406c70
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x406c70
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x406c70
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.00406b9a
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret