joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.SOFTWAREINTELNETWORK_SERVICESDMIX
push 0x80000002
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40163d
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push 0x4101cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401632
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x20]
mov bl, 1
mov word [esi], ax
cmp eax, 0x411
ja 0x4015c7
je 0x4015c0
add eax, 0xfffffbfc
cmp eax, 0xc
ja case.0x40159d.1029
movzx edx, byte [eax + 0x40165c]
jmp dword [edx*4 + 0x401648]
push 0x410284
jmp 0x401628
push 0x41027c
jmp 0x401628
push 0x410274
jmp 0x401628
push 0x41026c
jmp 0x401628
push 0x410264
jmp 0x401628
cmp eax, 0x804
ja 0x4015f1
je 0x4015ea
sub eax, 0x412
je 0x4015e3
sub eax, 4
jne case.0x40159d.1029
push 0x41025c
jmp 0x401628
push 0x410254
jmp 0x401628
push 0x41024c
jmp 0x401628
cmp eax, 0xc0a
je 0x401623
mov ecx, dword [esp + 0x1c]
push 0x410244
call fcn.004014e0
mov ecx, dword [esp + 8]
mov eax, 0x409
mov word [esi], ax
pop esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret 8
push 0x41023c
mov ecx, dword [esp + 0x20]
call fcn.004014e0
pop esi
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10
ret 8
Function at 0x401670
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4140d0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push ebp
mov ebp, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x220]
push 3
mov ebx, ecx
push 0x410244
mov ecx, edi
call fcn.004013f0
cmp byte [esp + 0x22c], 0
mov eax, 0x409
mov word [esi], ax
je 0x4016d0
push esi
push edi
mov ecx, ebx
call fcn.00401510
test al, al
jne 0x4017de
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [esi], ax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
add ecx, 0xfffffffc
cmp ecx, 0x12
ja case.0x4016f7.5
movzx edx, byte [ecx + 0x401870]
jmp dword [edx*4 + 0x401848]
mov ecx, 0x40c
push 3
mov word [esi], cx
push 0x410284
jmp 0x4017d7
mov edx, 0x407
push 3
mov word [esi], dx
push 0x41027c
jmp 0x4017d7
push 3
mov eax, 0x410
push 0x410274
jmp 0x4017d4
mov ecx, 0xc0a
push 3
mov word [esi], cx
push 0x41023c
jmp 0x4017d7
mov edx, 0x411
push 3
mov word [esi], dx
push 0x410264
jmp 0x4017d7
push 3
mov eax, 0x412
push 0x410254
jmp 0x4017d4
shr eax, 0xa
sub eax, 1
push 3
je 0x4017a8
sub eax, 1
je 0x40179c
sub eax, 1
je 0x40178d
mov ecx, 0x409
mov word [esi], cx
push 0x410244
jmp 0x4017d7
mov edx, 0x404
mov word [esi], dx
push 0x41026c
jmp 0x4017d7
mov eax, 0x804
push 0x41024c
jmp 0x4017d4
mov ecx, 0x404
mov word [esi], cx
push 0x41026c
jmp 0x4017d7
mov edx, 0x416
push 3
mov word [esi], dx
push 0x41025c
jmp 0x4017d7
push 3
mov eax, 0x409
push 0x410244
mov word [esi], ax
mov ecx, edi
call fcn.004013f0
push 0x208
lea ecx, [esp + 0x14]
push 0x2f30
push ecx
call fcn.00404dd0
movzx edx, word [esi]
push edx
lea eax, [esp + 0x20]
push 0x41028c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x28]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401810
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.004013f0
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404dbf
add esp, 0x20c
ret 0x10
Function at 0x401c80
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x401d42
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401c92
sub eax, edx
sar eax, 1
je 0x401d42
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401cb0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x401d42
push edi
mov edi, esi
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401cd0
mov eax, dword [0x4103e4]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0x4103e0
push 0
push str.SOFTWAREIntelNetwork_ServicesINST_LANGUAGE_PRIV
push 0x80000002
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop edi
test eax, eax
jne 0x401d42
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 8]
push edx
push esi
push 2
push 0
push str.CabPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x401d50
Capabilities:
Delete registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREIntelNetwork_ServicesINST_LANGUAGE_PRIV
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp]
push str.CabPath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret

Function at 0x401fa0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00404dd0
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, 5
mov word [esp + 0x5c], cx
mov ecx, dword [esp + 0x74]
push 0
push ecx
push 0
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401ff2
add esp, 0x54
ret 4
mov edx, dword [esp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x54
ret 4

Function at 0x402100
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push eax
call fcn.00404edf
add esp, 4
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 2
push 0
push 0x4103e0
push 0
push str.SOFTWAREINTELNETWORK_SERVICESDMIX
push 0x80000002
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402168
push 4
lea edx, [esp + 8]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push 0x4101cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x402c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40f2c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4140d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
mov word [esi + 4], cx
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], esi
call fcn.004012f0
push 1
push ebx
push 0x410458
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x18], 1
call fcn.004022f0
cmp eax, 0xffffffff
je 0x402cab
inc eax
cmp eax, 0xffffffff
je 0x402cab
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.00402aa0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.004012f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.004025b0
push 1
push 0xffffffffffffffff
push 0x410454
mov ecx, esi
call fcn.004023c0
cmp eax, ebx
jbe 0x402cee
cmp eax, 0xffffffff
je 0x402cee
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00402aa0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], 2
call fcn.004012f0
lea ecx, [esp + 0x14]
call fcn.004025b0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x404dbf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4140d0]
jne 0x404dc9
repz ret
jmp fcn.00407bac

Function at 0x40daa0
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.00407595
and dword [ebp - 4], 0
cmp dword [0x415b2c], 0
mov ebx, eax
jne 0x40db51
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dc02
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dc02
push eax
call fcn.00407523
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x415b2c], eax
call esi
push eax
call fcn.00407523
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x415b30], eax
call esi
push eax
call fcn.00407523
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x415b34], eax
call esi
push eax
call fcn.00407523
pop ecx
mov dword [0x415b3c], eax
test eax, eax
je 0x40db51
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407523
pop ecx
mov dword [0x415b38], eax
mov eax, dword [0x415b38]
cmp eax, ebx
je 0x40dba9
cmp dword [0x415b3c], ebx
je 0x40dba9
push eax
call fcn.0040759e
push dword [0x415b3c]
mov esi, eax
call fcn.0040759e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dba9
test edi, edi
je 0x40dba9
call esi
test eax, eax
je 0x40dba0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dba0
test byte [ebp - 0xc], 1
jne 0x40dba9
or dword [ebp + 0x10], 0x200000
jmp 0x40dbe2
mov eax, dword [0x415b30]
cmp eax, ebx
je 0x40dbe2
push eax
call fcn.0040759e
pop ecx
test eax, eax
je 0x40dbe2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dbe2
mov eax, dword [0x415b34]
cmp eax, ebx
je 0x40dbe2
push eax
call fcn.0040759e
pop ecx
test eax, eax
je 0x40dbe2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x415b2c]
call fcn.0040759e
pop ecx
test eax, eax
je 0x40dc02
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dc04
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa99fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x573000]
push edi
or ebp, 0xffffffff
jmp 0xa99fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa99fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa99fb8
mov eax, 1
add ebx, ebx
jne 0xa99fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa99fec
jne 0xa9a00b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa9a00b
dec eax
add ebx, ebx
jne 0xa99ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa99fd0
add ebx, ebx
jne 0xa9a007
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa9a05d
xor ecx, ecx
sub eax, 3
jb 0xa9a023
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa9a092
sar eax, 1
mov ebp, eax
jmp 0xa9a02e
add ebx, ebx
jne 0xa9a02e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa99ffc
inc ecx
add ebx, ebx
jne 0xa9a03c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa99ffc
add ebx, ebx
jne 0xa9a049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa9a03e
jne 0xa9a05a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa9a03e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa9a07c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa9a06e
jmp 0xa99fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa9a07c
add edi, ecx
jmp 0xa99fbe
pop esi
mov edi, esi
mov ecx, 0xbbf1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa9a09a
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 0xa9a09f
lea edi, [esi + 0x697000]
mov eax, dword [edi]
or eax, eax
je 0xa9a110
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x69c7c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69c800]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa9a0c5
mov ecx, edi
jns 0xa9a0f4
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 + 0x69c804]
or eax, eax
je 0xa9a10a
mov dword [ebx], eax
add ebx, 4
jmp 0xa9a0e2
call dword [esi + 0x69c814]
mov ebp, dword [esi + 0x69c808]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0xa9a144
sub esp, 0xffffff80
jmp 0x425d18
Function at 0x815690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e5000]
push edi
jmp 0x8156aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8156b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8156a0
mov eax, 1
add ebx, ebx
jne 0x8156c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8156d4
jne 0x8156f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8156f3
dec eax
add ebx, ebx
jne 0x8156e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8156b8
add ebx, ebx
jne 0x8156ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x815745
xor ecx, ecx
sub eax, 3
jb 0x81570b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x81577a
sar eax, 1
mov ebp, eax
jmp 0x815716
add ebx, ebx
jne 0x815716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8156e4
inc ecx
add ebx, ebx
jne 0x815724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8156e4
add ebx, ebx
jne 0x815731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x815726
jne 0x815742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x815726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x815764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x815756
jmp 0x8156a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x815764
add edi, ecx
jmp 0x8156a6
pop esi
mov edi, esi
mov ecx, 0x8c62
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x815782
cmp byte [edi], 0x1a
jne 0x815782
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 0x815787
lea edi, [esi + 0x411000]
mov eax, dword [edi]
or eax, eax
je 0x8157ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x427080]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4271c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8157b4
mov ecx, edi
jns 0x8157e3
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 + 0x4271c4]
or eax, eax
je 0x8157f9
mov dword [ebx], eax
add ebx, 4
jmp 0x8157d1
call dword [esi + 0x4271d4]
mov ebp, dword [esi + 0x4271c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x815833
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x562180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10b000]
push edi
jmp 0x56219a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5621a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x562190
mov eax, 1
add ebx, ebx
jne 0x5621b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5621c4
jne 0x5621e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621e3
dec eax
add ebx, ebx
jne 0x5621d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5621a8
add ebx, ebx
jne 0x5621df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x562235
xor ecx, ecx
sub eax, 3
jb 0x5621fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56226a
sar eax, 1
mov ebp, eax
jmp 0x562206
add ebx, ebx
jne 0x562206
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621d4
inc ecx
add ebx, ebx
jne 0x562214
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5621d4
add ebx, ebx
jne 0x562221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x562216
jne 0x562232
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x562216
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x562254
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x562246
jmp 0x562196
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x562254
add edi, ecx
jmp 0x562196
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x562272
cmp byte [edi], 0x11
jne 0x562272
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 0x562277
lea edi, [esi + 0x15b000]
mov eax, dword [edi]
or eax, eax
je 0x5622ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1eb99c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ebb18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5622a4
mov ecx, edi
jns 0x5622d3
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 + 0x1ebb1c]
or eax, eax
je 0x5622e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5622c1
call dword [esi + 0x1ebb2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x562320
cmp al, 0xef
ja 0x562313
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5622f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x562302
mov ebp, dword [esi + 0x1ebb20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x562354
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x40d360
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
call fcn.0040d310
test al, al
jne 0x40d3aa
push 1
mov ecx, esi
call fcn.0040d330
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x2c]
push eax
push 4
push esi
push 0x40d4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x40d3d0
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
je 0x40d3e8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x40d412
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x40d770
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x41a549
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, ecx
push edi
mov dword [esp + 0xc], ebp
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x18], edi
je 0x40d79f
lea eax, [ebp + 0x58]
jmp 0x40d7a1
xor eax, eax
push ebx
push esi
push eax
mov ecx, ebp
call fcn.0040d210
lea esi, [ebp + 0x58]
mov byte [esp + 0x20], 1
mov ecx, esi
call fcn.0040d1c0
mov al, byte [esp + 0x38]
lea ebx, [ebp + 0x80]
mov byte [ebx], al
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
push str.wininet.dll
mov byte [esp + 0x24], 3
mov dword [ebp], 0x41b1a0
mov dword [esi], 0x41b194
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetCrackUrlA
push eax
mov dword [ebp + 0x7c], eax
call esi
mov ecx, dword [ebp + 0x7c]
push str.InternetOpenA
push ecx
mov dword [ebp + 0x78], eax
call esi
mov edx, dword [ebp + 0x7c]
push str.InternetConnectA
push edx
mov dword [ebp + 0x74], eax
call esi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push str.HttpOpenRequestA
push eax
call esi
mov ecx, dword [ebp + 0x7c]
push str.HttpSendRequestA
push ecx
mov dword [ebp + 0x6c], eax
call esi
mov edx, dword [ebp + 0x7c]
push str.HttpEndRequestA
push edx
mov dword [ebp + 0x68], eax
call esi
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
push str.InternetCloseHandle
push eax
call esi
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x60], eax
mov eax, dword [0x41b16c]
mov esi, ecx
cmp eax, esi
mov dword [esp + 0x10], esi
jae 0x40d86d
mov dword [esp + 0x10], eax
mov esi, eax
lea edx, [esp + 0x28]
cmp ebx, edx
jne 0x40d88c
push eax
push esi
mov ecx, ebx
call fcn.0040aa20
push edi
push edi
mov ecx, ebx
call fcn.0040aa20
jmp 0x40d916
cmp esi, edi
jbe 0x40d8d8
cmp esi, ecx
jne 0x40d8d8
mov edi, dword [esp + 0x2c]
mov eax, 0x41b168
test edi, edi
je 0x40d8a3
mov eax, edi
cmp byte [eax - 1], 0xfe
jae 0x40d8dc
push 1
mov ecx, ebx
call fcn.004019b0
test edi, edi
mov eax, 0x41b168
je 0x40d8bd
mov eax, edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x40d91a
mov edi, dword [esp + 0x2c]
push 1
push esi
mov ecx, ebx
call fcn.00401a20
test al, al
je 0x40d91a
test edi, edi
jne 0x40d8f3
mov edi, 0x41b168
mov ecx, esi
mov esi, edi
mov edi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
pop esi
test edi, edi
mov dword [ebp + 0x5c], edx
pop ebx
je 0x40d943
mov al, byte [edi - 1]
test al, al
je 0x40d939
cmp al, 0xff
je 0x40d939
dec al
mov byte [edi - 1], al
jmp 0x40d943
dec edi
push edi
call fcn.00412670
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, ebp
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14