joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1b6b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4f1b98
call fcn.004f5273
mov dword [eax], esi
call fcn.004f5260
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004edf2a
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4f1b74
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f1bc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f5286
pop ecx
call fcn.004f5260
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4f1bee
test al, 1
je 0x4f1bee
test byte [esp + 0xc], 2
je 0x4f1bee
call fcn.004f5273
mov dword [eax], 5
call fcn.004f5260
mov dword [eax], 0xd
jmp 0x4f1bbe
xor eax, eax
pop esi
ret

Function at 0x4f4111
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55509c]
jne 0x4f411b
repz ret
jmp fcn.00505287

Function at 0x4f9ec2
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 + 0x555c08]
je 0x4f9edd
inc edi
cmp edi, 0x17
jb 0x4f9ece
cmp edi, 0x17
jae 0x4fa05d
push ebp
push 3
call fcn.00506df7
cmp eax, 1
pop ecx
je 0x4fa029
push 3
call fcn.00506df7
test eax, eax
pop ecx
jne 0x4f9f11
cmp dword [0x555098], 1
je 0x4fa029
cmp ebx, 0xfc
je 0x4fa05c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x55bc08
push ebp
call fcn.004f1c6d
add esp, 0xc
test eax, eax
je 0x4f9f47
push esi
push esi
push esi
push esi
push esi
call fcn.004ede2e
add esp, 0x14
push 0x104
mov esi, 0x55bc21
push esi
push 0
mov byte [0x55bd25], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4f9f8b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004f1c6d
add esp, 0xc
test eax, eax
je 0x4f9f8b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004ede2e
add esp, 0x14
push esi
call fcn.004eba10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4f9fd0
push esi
call fcn.004eba10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x55bf1c
push 0x53926c
sub ecx, eax
push ecx
push eax
call fcn.005041cc
add esp, 0x14
test eax, eax
je 0x4f9fd0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004ede2e
add esp, 0x14
jmp 0x4f9fd2
xor esi, esi
push 0x539268
push ebx
push ebp
call fcn.0050415b
add esp, 0xc
test eax, eax
je 0x4f9ff2
push esi
push esi
push esi
push esi
push esi
call fcn.004ede2e
add esp, 0x14
push dword [edi*8 + 0x555c0c]
push ebx
push ebp
call fcn.0050415b
add esp, 0xc
test eax, eax
je 0x4fa014
push esi
push esi
push esi
push esi
push esi
call fcn.004ede2e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00506c3a
add esp, 0xc
jmp 0x4fa05c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4fa05c
cmp ebp, 0xffffffff
je 0x4fa05c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x555c0c]
push dword [esi]
call fcn.004eba10
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 0x506c3a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004f9943
xor ebx, ebx
cmp dword [0x55c6a8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x506d10
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x506df0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x539e70
push edi
call esi
cmp eax, ebx
je 0x506df0
push eax
call fcn.004f98d5
mov dword [esp], 0x539e60
push edi
mov dword [0x55c6a8], eax
call esi
push eax
call fcn.004f98d5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55c6ac], eax
call esi
push eax
call fcn.004f98d5
mov dword [0x55c6b0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004f3c50
test eax, eax
pop ecx
pop ecx
je 0x506cde
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ede2e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x506d10
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004f98d5
cmp eax, ebx
pop ecx
mov dword [0x55c6b8], eax
je 0x506d10
push 0x539e18
push edi
call esi
push eax
call fcn.004f98d5
pop ecx
mov dword [0x55c6b4], eax
mov eax, dword [0x55c6b4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x506d95
cmp dword [0x55c6b8], ecx
je 0x506d95
push eax
call fcn.004f994c
push dword [0x55c6b8]
mov esi, eax
call fcn.004f994c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x506d95
cmp edi, ebx
je 0x506d95
call esi
cmp eax, ebx
je 0x506d62
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x506d62
test byte [ebp - 0x18], 1
jne 0x506d95
lea eax, [ebp - 0x10]
push eax
call fcn.004f3c87
test eax, eax
pop ecx
je 0x506d7d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004ede2e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x506d8c
or dword [ebp + 0x10], 0x200000
jmp 0x506dd0
or dword [ebp + 0x10], 0x40000
jmp 0x506dd0
mov eax, dword [0x55c6ac]
cmp eax, dword [ebp - 8]
je 0x506dd0
push eax
call fcn.004f994c
cmp eax, ebx
pop ecx
je 0x506dd0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x506dd0
mov eax, dword [0x55c6b0]
cmp eax, dword [ebp - 8]
je 0x506dd0
push eax
call fcn.004f994c
cmp eax, ebx
pop ecx
je 0x506dd0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x55c6a8]
call fcn.004f994c
cmp eax, ebx
pop ecx
je 0x506df0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x506df2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x103a730
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103a73a
pushal
call 0x103a740
pop ebp
sub ebp, 0x10
sub ebp, 0xc3a730
jmp 0x103a756
mov eax, 0xc3a730
add eax, ebp
add eax, 0x4c
mov ecx, 0x57c
mov edx, 0xff4b00be
xor byte [eax], dl
inc eax
dec ecx
jne 0x103a76d
jmp 0x103a780
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov ebx, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
out dx, al
out dx, al
salc
mov ch, byte [ebx + 0x42d6be9e]
das
sbb eax, 0x9a92bfbe
salc
nop
pop edx
jmp 0x103a80e
inc ecx
retf
Function at 0x401b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.00486440
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00407a30
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401c31
cmp cl, 0xe9
je 0x401c31
add esi, eax
cmp esi, 0x1000
jb 0x401bf2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9cb
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d9cb
mov esp, ebp
pop ebp
ret

Function at 0x4030c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x529868], 0
jne 0x403184
cmp byte [0x529869], 0
mov al, 1
mov byte [0x529868], al
jne 0x4030fd
push 0x5294c0
mov byte [0x529869], al
push ecx
call fcn.017e01ef
call fcn.00402780
call fcn.004031a0
mov dword [0x529864], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
call fcn.005722bd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d9cb
mov esp, ebp
pop ebp
ret
Function at 0x4031a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
call fcn.0172622a

Function at 0x42c730
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push esi
mov dword [edi], 0
call fcn.0042c6c0
mov ebx, eax
test ebx, ebx
jne 0x42c763
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.004709ad
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x529924]
push eax
push 1
push ecx
push edx
call fcn.00470edd
mov ecx, dword [0x529b30]
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x529924]
mov dword [esp + 0x30], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004e2020
add esp, 0x30
test eax, eax
jne 0x42c8ba
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x24]
jne 0x42c8ba
mov eax, dword [0x529b30]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.004737c0
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov eax, 0x18
mov word [esp + 0x2e], ax
push 0
mov ecx, 1
lea eax, [esp + 0x4c]
mov word [esp + 0x30], cx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x38], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0
call fcn.017311c0
ret
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44fec0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x44ffab
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44fef7
cmp dword [esi + 0x40], edi
jae 0x44fef7
push eax
call fcn.00450231
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x44ff0f
lea eax, [edi + edi]
push eax
call fcn.0045023c
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.00475820
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x44ffa8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50f670]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x50f670]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x44ff27
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x44ffea
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x44ffcf
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.00475820
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45000c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
push ebp
call 0x421233
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4891b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x51f620]
xor eax, ebp
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x1b8
mov dword [ebp - 0x144], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x144]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
push eax
call 0x17489ca
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x489204
xor eax, eax
jmp 0x48950a
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x168], 0
push 0x40
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.004737c0
add esp, 0xc
mov edx, 0x5a4d
mov word [ebp - 0x1a8], dx
mov dword [ebp - 0x16c], 0x40
lea eax, [ebp - 0x168]
push eax
push 0x40
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
push ecx
call 0x5b8b94
test eax, eax
je 0x489271
cmp dword [ebp - 0x168], 0x40
je 0x489278
xor eax, eax
jmp 0x48950a
mov ecx, dword [ebp - 0xfc]
add ecx, 0x40
mov dword [ebp - 0xfc], ecx
push 0xf8
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.004737c0
add esp, 0xc
mov dword [ebp - 0xf8], 0x4550
mov eax, 0xe0
mov word [ebp - 0xe4], ax
mov ecx, 0x2000
mov word [ebp - 0xe2], cx
mov edx, 1
mov word [ebp - 0xf2], dx
mov eax, 0x10b
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x168]
push ecx
push 0xf8
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push eax
call 0x17ee7b9
test eax, eax
je 0x48930b
cmp dword [ebp - 0x168], 0xf8
je 0x489312
xor eax, eax
jmp 0x48950a
mov edx, dword [ebp - 0xfc]
add edx, 0xf8
mov dword [ebp - 0xfc], edx
push 0x28
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.004737c0
add esp, 0xc
push 8
push str..detour
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00475820
add esp, 0xc
mov edx, dword [ebp - 0xfc]
add edx, 0x28
sub edx, dword [ebp - 0x148]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp + 0x14]
add eax, 0x58
mov dword [ebp - 0x1c0], eax
lea ecx, [ebp - 0x168]
push ecx
push 0x28
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push ecx
call 0x1828913
test eax, eax
je 0x48939c
cmp dword [ebp - 0x168], 0x28
je 0x4893a3
xor eax, eax
jmp 0x48950a
mov edx, dword [ebp - 0xfc]
add edx, 0x28
mov dword [ebp - 0xfc], edx
push 0x40
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.004737c0
add esp, 0xc
mov dword [ebp - 0x140], 0x40
mov dword [ebp - 0x13c], 0x727444
mov dword [ebp - 0x138], 0x40
mov ecx, dword [ebp + 0x14]
add ecx, 0x58
mov dword [ebp - 0x134], ecx
lea edx, [ebp - 0x168]
push edx
push 0x40
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp + 8]
push edx
call 0x1878bcf
mov ecx, dword [ebp - 0x14c]
xor ecx, ebp
call fcn.0046d9cb
mov esp, ebp
pop ebp
ret 0x10

Function at 0x490380
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004900f0
Function at 0x530d40
Capabilities:
Check http status code

Disassembly:
sub eax, eax
jmp 0x17ab552
push ebp
xchg bp, ax
xor bp, 0x47ef
mov ebp, esp
shl eax, cl
lea esp, [esp - 0x11c]
mov eax, dword [0x51f620]
xor eax, ebp
test ah, 0xbc
test dx, sp
mov dword [ebp - 4], eax
mov eax, eax
add eax, 0x3f330606
btr eax, 0x4b
cmp dword [ebp + 0x10], 0
jmp 0x177adef
inc eax
cmp esp, ebp
test ebx, eax
lea ecx, [ecx + edi]
stc
jmp 0x17422e9
imul dl
test bx, 0x4afb
jmp 0x17496b3
je 0x18b4c0e
xor ecx, ecx
sub eax, eax
push edi
test ebx, ebx
jle 0x1867efe
lea esp, [esp]
xchg edi, edi
movzx edi, byte [edx + eax]
jmp 0x578688
cmp eax, ebx
jmp 0x1867ef8
add al, cl
mov cl, bl
sub cl, 0x38
cmp ecx, eax
xor al, cl
cmc
mov byte [esi + 7], al
sub edi, edi
call fcn.00471b41
call fcn.00471b41
mov byte [esi + edi], al
inc edi
test edi, 0x3c0a539f
test di, di
cmp edi, 7
jmp 0x17c5026
push ebx
setb bh
mov ebx, dword [ebp + 8]
jmp 0x179ff8d
mov eax, dword [ebp + 0xc]
jmp 0x176ef14
push esi
mov si, 0x2b4b
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], eax
mov si, bx
mov si, 0x4b74
mov esi, ecx
jmp 0x1740d57
jl 0x17496c4
mov ecx, 1
cmp ebx, ecx
jle 0x426197
mov eax, dword [ebp - 0x110]
inc eax
or edi, 0xffffffff
mov dl, byte [edi + eax]
cmc
xor dl, cl
test ebx, 0x3f531ed1
xor byte [eax], dl
jmp 0x185f9d2
inc ecx
inc eax
cmp di, bx
cmc
cmp ecx, ebx
jmp 0x426191
jl 0x1740d70
mov eax, 0x837765f1
btr dx, 0xdc
movsx edx, cx
dec dx
imul ecx
mov eax, edi
xor eax, 0x642b4794
cmc
add edx, ecx
xor ah, 0x13
sar edx, 9
stc
mov eax, edx
clc
shr eax, 0x1f
cmc
jmp 0x18adc43
lea eax, [eax + edx]
mov dl, 0x1b
jmp 0x5793bf
mov ecx, dword [ebp - 4]
bsr esi, esp
pop esi
rcl bx, cl
xor ecx, ebp
pop ebx
call fcn.0046d9cb
mov esp, ebp
not bp
pop ebp
ret
Function at 0x534900
Capabilities:
Check for software breakpoints
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
jmp 0x182faea
je 0x17d1f53
lea edi, [esp + 0x14]
jmp 0x1719db2
push edx
mov edx, dword [eax + 4]
jmp 0x174df6f
call fcn.0176616d
add esp, 0x1c
jmp 0x17df3a6
test al, al
jmp 0x1886125
call fcn.004465b0
push 0x100000
push edi
jmp 0x18b49dc
call fcn.01899a8f
add esp, 4
clc
and edi, 0x18f96fb5
mov edi, eax
cmp dx, 0x5608
cmp byte [esp + 0x13], bl
jmp 0x170ab27
jbe 0x17d1f53
mov eax, dword [esp + 0x14]
push eax
cdq
movsx edx, di
lea ecx, [esp + 0xc10]
movzx edx, di
movsx eax, di
xchg dx, ax
push ecx
cmovge edx, ecx
movsx eax, dx
cwd
lea edx, [esp + 0xb14]
cbw
xchg ah, ch
bswap eax
push edx
lea eax, [esp + 0x950]
bswap cx
movsx ecx, si
push eax
movzx ecx, bx
sets cl
bswap cx
push 0xe
mov cx, si
movzx cx, ch
movsx ecx, bp
lea ecx, [esp + 0x2e0]
jmp 0x179d067
jne 0x17d1f53
push ebx
xchg edx, edx
movzx edx, di
push 1
mov edx, 0xd911d02
cdq
push ecx
movsx dx, bh
cwd
lea edx, [esp + 0xa50]
xchg ecx, ecx
mov ecx, esp
jmp 0x1858158
call fcn.00440a20
lea eax, [esp + 0xc0c]
push eax
movzx edi, di
mov edi, esi
jmp 0x169251e
push edx
jmp 0x168cb91
jmp 0x17dd1d4
call fcn.004032a0
lea esp, [esp + 4]
test eax, eax
jmp 0x1740784
jmp 0x17dd1d4
jne 0x17d1f53
call 0x18e0dd4
cmp dword [esp + 0x14], eax
jmp 0x5c0164
mov eax, dword [eax]
jmp 0x18861f9
push 0x4d
jmp 0x17cd603
call fcn.004440b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
btr si, 0xdc
or si, ax
add esp, 0x14
movzx esi, bp
lea esi, [esp + 0x24c]
jmp 0x17d0717
push ecx
jmp 0x61f1c5
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.004409f0
mov esi, eax
lea edi, [esp + 0x38]
jmp 0x182c317
push esi
jmp 0x17305ae
call dword [0x4e7448]
mov edx, dword [esp + 0x30]
push 2
jmp 0x431eef
push esi
jmp 0x17372c8
push edx
push eax
lea eax, [esp + 0x2d8]
jmp 0x17a4876
call fcn.00440f40
mov esi, dword [esp + 0x18]
jmp 0x1665cf9
push 0xc4d380e8
call fcn.005413fa
push ecx
mov ecx, dword [edi]
jmp 0x61f075
mov dword [esp + 0x28], esp
jmp 0x1720f62
je 0x17d1f53
push esi
jmp 0x1736714
push ecx
jmp 0x180ec22
push esi
call fcn.005d53d0
lea esp, [esp + 0x18]
cmp esi, edi
cmc
cmp cx, 0x7974
cmp eax, ebx
jmp 0x17026af
Function at 0x536c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x536d8c
test eax, eax
je 0x536d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x551ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x536d73
lea edi, [eax + 4]
jmp 0x536cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x536cec
mov dword [ebp - 4], 2
jmp 0x536d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x536d03
mov dword [ebp - 4], 1
jmp 0x536d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x536d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x536d46
mov byte [ecx], 0x3d
jmp 0x536d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x536d5d
mov byte [ecx], 0x3d
jmp 0x536d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x536cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53b72e
Capabilities:
Parse pe header

Disassembly:
push ebp
add al, dl
cmp esi, 0x1a573374
mov ebp, esp
ror al, cl
sub esp, 0x16c
or eax, ebx
mov eax, dword [0x51f620]
cmp si, bx
test ah, 0x29
jmp loc.00425659