joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401490
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x475363
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
call fcn.00407f20
mov edi, 8
cmp eax, edi
jge 0x4014df
mov al, 1
jmp 0x4016e9
call fcn.00401000
test eax, eax
je 0x4014d8
push 1
push 2
push 0xc00
sub esp, 0x1c
mov eax, 0x47a75c
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.004025c0
call fcn.004076f0
add esp, 0x28
cmp eax, 1
je 0x4016e7
push 1
push 2
push 0xc00
sub esp, 0x1c
mov eax, 0x47a764
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.004025c0
call fcn.004076f0
add esp, 0x28
cmp eax, 1
je 0x4016e7
lea ecx, [esp + 0x14]
call fcn.0041aa70
mov dword [esp + 0xcc], 0
cmp dword [eax + 0x18], edi
jb 0x401560
mov eax, dword [eax + 4]
jmp 0x401563
add eax, 4
lea ecx, [esp + 0xa4]
call fcn.004025c0
mov byte [esp + 0xcc], 2
cmp dword [esp + 0x2c], edi
jb 0x40158a
mov eax, dword [esp + 0x18]
push eax
call fcn.0045850d
add esp, 4
xor ecx, ecx
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0xa4]
lea edx, [ecx - 1]
push eax
lea esi, [esp + 0x70]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.00402600
mov ecx, eax
mov byte [esp + 0xcc], 3
call fcn.00403230
mov byte [esp + 0xcc], 2
mov bl, al
cmp dword [esp + 0x84], edi
jb 0x4015eb
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045850d
add esp, 4
test bl, bl
je 0x401602
push 1
push 0x47a57c
lea eax, [esp + 0xac]
call fcn.00402f10
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0xbc], edi
jae 0x401619
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x88]
call fcn.004025c0
push 0xf
push str.MonitorHTTP.exe
lea eax, [esp + 0x90]
mov byte [esp + 0xd4], 4
call fcn.00402f10
push 0x38
lea edx, [esp + 0x38]
push 0
push edx
mov dword [esp + 0x3c], 0x3c
call fcn.0045da70
add esp, 0xc
mov dword [esp + 0x3c], str.runas
cmp dword [esp + 0xa0], edi
jb 0x401677
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], eax
jmp 0x401682
lea ecx, [esp + 0x8c]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x50], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0xa0], edi
jb 0x4016ae
mov eax, dword [esp + 0x8c]
push eax
call fcn.0045850d
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], cx
cmp dword [esp + 0xbc], edi
jb 0x4016e7
mov edx, dword [esp + 0xa8]
push edx
call fcn.0045850d
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004584fe
add esp, 0xc0
ret
Function at 0x4022a0
Capabilities:
Hide graphical window

Disassembly:
push 0
push eax
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x497798
push 0x4976d0
push 0
mov dword [0x497860], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x49786c], eax
test eax, eax
jne 0x4022db
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x49786c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
ret
Function at 0x406ba0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
movzx eax, word [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x406bd8
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.004584fe
pop ecx
ret
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x406bf7
pop ebx
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.004584fe
pop ecx
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x47ae2c
push ebp
mov edi, eax
call fcn.00458edf
mov esi, eax
push esi
push 1
push edi
push ebx
call fcn.00459058
push esi
call fcn.00459151
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.004584fe
pop ecx
ret
Function at 0x406f00
Capabilities:
Get file size

Disassembly:
push ecx
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
jae 0x406f10
lea eax, [esp + 0xc]
push esi
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406f4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], 8
jb 0x406f49
mov eax, dword [esp + 0x10]
push eax
call fcn.0045850d
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 8
jb 0x406f78
mov edx, dword [esp + 0x14]
push edx
call fcn.0045850d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x406f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 0xc]
push esi
push eax
movzx eax, word [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x406fb4
xor eax, eax
pop esi
mov ecx, dword [esp]
xor ecx, esp
call fcn.004584fe
pop ecx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406fa5
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004584fe
pop ecx
ret

Function at 0x407040
Capabilities:
Print debug messages

Disassembly:
call fcn.00407f20
cmp eax, 6
jg 0x407050
mov eax, 0x85
ret
cmp eax, 8
jne 0x407066
call fcn.00406ff0
neg eax
sbb eax, eax
neg eax
add eax, 0x86
ret
cmp eax, 7
jne 0x40707c
call fcn.00406ff0
neg eax
sbb eax, eax
neg eax
add eax, 0x88
ret
cmp eax, 9
jl 0x407090
call fcn.00406ff0
neg eax
sbb eax, eax
add eax, 0x8b
ret
push esi
push 0x47aec4
mov esi, 0x8b
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop esi
ret
Function at 0x407100
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push 0
push 0x47a966
mov ecx, ebx
call fcn.00403510
push 0x288
mov dword [esp + 0xc], 0x288
call fcn.0045921c
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x407152
push ebp
call fcn.004592e6
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0045921c
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40716a
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x407171
push ebp
call fcn.004592e6
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x4071d1
lea esp, [esp]
xor eax, eax
mov word [esp + 9], ax
mov byte [esp + 0xb], al
movzx eax, byte [esi + ebp + 0x194]
push eax
lea ecx, [esp + 0xc]
push str._.2x
push ecx
mov byte [esp + 0x14], 0
call fcn.004587de
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4071b2
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov eax, ebx
call fcn.004029f0
inc esi
cmp esi, dword [ebp + 0x190]
jb 0x407180
cmp dword [ebx + 0x14], 8
jae 0x40724f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40724e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x407241
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [esp + 0x10]
push str._.2x
push ecx
mov byte [esp + 0x18], 0
call fcn.004587de
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407222
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, ebx
call fcn.004029f0
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4071f0
cmp dword [ebx + 0x14], 8
jae 0x40724e
mov edi, dword [ebp]
test edi, edi
jne 0x4071e0
pop edi
push ebp
call fcn.004592e6
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret
Function at 0x407d80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x473ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00403af0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407dd6
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.00402f10
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00403af0
cmp dword [esp + 0x24], 8
jb 0x407e1e
mov edx, dword [esp + 0x10]
push edx
call fcn.0045850d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x407f20
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4080c1
mov eax, dword [esp + 0x10]
sub eax, 1
mov ecx, dword [esp + 8]
je 0x407f77
sub eax, 1
jne 0x4080c1
mov eax, dword [esp + 4]
sub eax, 4
je 0x407fa9
sub eax, 1
je 0x407fb1
sub eax, 1
je 0x407fc6
test ecx, ecx
je 0x4080a7
cmp ecx, 0xa
je 0x40808d
cmp ecx, 0x5a
jne 0x4080c1
lea eax, [ecx - 0x57]
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
test ecx, ecx
je 0x408073
mov eax, ecx
sub eax, 0
je 0x408059
sub eax, 1
je 0x40803f
sub eax, 1
je 0x408025
mov eax, ecx
sub eax, 0
je 0x40800b
sub eax, 1
je 0x407ff1
sub eax, 1
jne 0x407f77
mov eax, 0xa
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 9
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 7
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 6
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 5
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 4
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 2
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov eax, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004584fe
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor ecx, esp
xor eax, eax
call fcn.004584fe
add esp, 0x118
ret
Function at 0x4086a0
Capabilities:
Delete file
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4766c8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [0x497864]
lea eax, [esp + 0x2c]
push eax
call fcn.00409fa0
add esp, 4
mov dword [esp + 0x54], 0
cmp dword [0x497878], 0
jne 0x408715
push 0xf4
call fcn.00458595
add esp, 4
test eax, eax
je 0x40870e
mov esi, eax
call fcn.00404010
jmp 0x408710
xor eax, eax
mov dword [0x497878], eax
call fcn.00404be0
mov ecx, dword [0x497878]
cmp dword [ecx + 0xe0], 0xd
mov esi, 7
jge 0x408766
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], 0
push edx
lea eax, [esp + 0x54]
mov word [ecx + 4], dx
call fcn.00403af0
call fcn.00406c40
add esp, 0x20
test al, al
je 0x4087b3
call fcn.00404be0
push 0xd
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], 0
push edx
lea eax, [esp + 0x54]
mov word [ecx + 4], dx
call fcn.00403af0
call fcn.00407270
add esp, 0x20
call fcn.00404710
push edi
call fcn.00409ab0
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x4087ce
push str.FilterUrlAlyzers_Create_Error_int_3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
cmp dword [esp + 0x44], 8
jb 0x4087c7
mov eax, dword [esp + 0x30]
push eax
call fcn.0045850d
add esp, 4
xor al, al
jmp 0x4088a8
mov ecx, 0x1c
cmp dword [eax + 4], ecx
jge 0x408822
lea ecx, [esp + 0x10]
push ecx
call fcn.00409fa0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x4087f4
mov eax, dword [eax + 4]
jmp 0x4087f7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x28], esi
jb 0x408811
mov edx, dword [esp + 0x14]
push edx
call fcn.0045850d
add esp, 4
push str.Read_Config_File_Error_Delete_File
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x44], esi
jmp 0x4087b8
cmp dword [eax + 0x5c], 0
jne 0x40884c
push str.FilterUrlGetData_Create_Error_int_3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov edx, dword [0x497878]
cmp dword [edx + 0xe8], ecx
jge 0x40889d
lea eax, [esp + 0x10]
push eax
call fcn.00409fa0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x408872
mov eax, dword [eax + 4]
jmp 0x408875
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x10]
call fcn.00427c20
push str.Read_Config_File_Error_Delete_File
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea esi, [esp + 0x2c]
call fcn.00427c20
xor al, al
jmp 0x4088a8
lea esi, [esp + 0x2c]
call fcn.00427c20
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004584fe
add esp, 0x4c
ret
Function at 0x408950
Capabilities:
Print debug messages

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x40899e
push 0x60
call fcn.00458595
add esp, 4
cmp eax, ebx
je 0x408999
mov dword [eax + 0x2c], 0xf
mov dword [eax + 0x28], ebx
mov byte [eax + 0x18], bl
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x50], 1
mov dword [eax + 0x10], ebx
jmp 0x40899b
xor eax, eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x4089ce
cmp dword [eax + 8], ebx
jne 0x4089c3
push esi
push 0x409a20
mov dword [eax + 0x5c], 0x411cf0
mov dword [eax + 0x48], esi
mov ecx, dword [esi + 0x20]
push ebx
call fcn.00455a70
push 0x47b088
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
ret
Function at 0x40abd0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push edi
lea eax, [esp + 8]
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push str.CFilterUrlAlyzers::AddGetDataUrl
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str.Time__d__d__d__02d:_02d:_02d___Function__s__r_n
push ecx
call fcn.004587de
add esp, 0x24
call fcn.00458100
cmp dword [0x497a8c], 0
je 0x40ac63
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ac43
sub eax, edx
mov edx, dword [0x497a90]
push edx
push eax
lea eax, [esp + 0x20]
push 1
push eax
call fcn.00459058
add esp, 0x10
mov eax, dword [0x497a90]
test eax, eax
je 0x40ac7f
push eax
call fcn.00459151
add esp, 4
mov dword [0x497a90], 0
push esi
call fcn.0040a9b0
test al, al
je 0x40acab
push str.repeat_filter_url_data
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004584fe
add esp, 0x41c
ret
mov ecx, esi
mov ebx, edi
call fcn.0040a880
push str.filter_one_url_data
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [edi + 0x5c]
test ebx, ebx
je 0x40accd
mov ecx, esi
call fcn.0040c130
mov ecx, dword [esp + 0x41c]
pop edi
pop ebx
xor ecx, esp
call fcn.004584fe
add esp, 0x41c
ret
Function at 0x40bdf0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4757cd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov eax, dword [edi + 0x98]
mov dword [edi + 0x10c], ebp
cmp eax, ebp
je 0x40be74
cmp dword [eax], ebp
je 0x40be56
mov ecx, 0x411cf0
test ecx, ecx
je 0x40be45
mov dword [eax + 0x5c], 0x411cf0
mov dword [eax + 0x48], edi
cmp dword [eax], ebp
je 0x40be56
mov dword [eax + 4], ebp
mov dword [eax + 8], 1
mov esi, dword [edi + 0x98]
cmp esi, ebp
je 0x40be6e
call fcn.004559f0
push esi
call fcn.0045850d
add esp, 4
mov dword [edi + 0x98], ebp
call fcn.0040d960
call fcn.00412310
push edi
call fcn.0040c2f0
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x40be94
push eax
call fcn.004592e6
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [edi + 0x24]
push edx
mov dword [edi + 0xc], ebp
mov dword [edi + 0x14], ebp
mov dword [edi + 0x10], ebp
call ebx
lea eax, [edi + 0x3c]
push eax
call ebx
lea ecx, [edi + 0x54]
push ecx
call ebx
lea edx, [edi + 0x6c]
push edx
call ebx
mov eax, dword [edi + 0xcc]
cmp eax, ebp
je 0x40bf08
cmp dword [eax], ebp
je 0x40beea
mov ecx, 0x411cf0
test ecx, ecx
je 0x40bed9
mov dword [eax + 0x5c], 0x411cf0
mov dword [eax + 0x48], edi
cmp dword [eax], ebp
je 0x40beea
mov dword [eax + 4], ebp
mov dword [eax + 8], 1
mov esi, dword [edi + 0xcc]
cmp esi, ebp
je 0x40bf02
call fcn.004559f0
push esi
call fcn.0045850d
add esp, 4
mov dword [edi + 0xcc], ebp
call fcn.00412ab0
lea edx, [edi + 0xb4]
push edx
call ebx
mov eax, dword [edi + 0x108]
cmp eax, ebp
je 0x40bf28
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [edi + 0xf0]
push eax
call ebx
lea esi, [edi + 0xd0]
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 6
call fcn.00413e10
mov ecx, dword [esi]
push ecx
call fcn.0045850d
mov eax, dword [edi + 0xa8]
add esp, 4
cmp eax, ebp
je 0x40bf63
push eax
call fcn.004592e6
add esp, 4
mov eax, dword [edi + 0x9c]
cmp eax, ebp
je 0x40bf76
push eax
call fcn.004592e6
add esp, 4
mov eax, dword [edi + 0x84]
cmp eax, ebp
je 0x40bf89
push eax
call fcn.004592e6
add esp, 4
mov eax, dword [edi + 0x18]
cmp eax, ebp
je 0x40bf99
push eax
call fcn.004592e6
add esp, 4
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x40bfa9
push eax
call fcn.004592e6
add esp, 4
mov edi, dword [edi]
cmp edi, ebp
je 0x40bfb8
push edi
call fcn.004592e6
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x40d180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x474658
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x74], 1
push ebx
mov esi, 0xf
push 0x47a966
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403510
mov byte [esp + 0x74], 2
push 7
push str.http:__
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00403510
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x84]
push ecx
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x54]
mov byte [esp + 0x7c], 3
call fcn.0041b040
add esp, 8
mov edi, 0x10
cmp dword [esp + 0x48], edi
jb 0x40d23b
mov edx, dword [esp + 0x34]
push edx
call fcn.0045850d
add esp, 4
xor ebx, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x74], 6
cmp dword [esp + 0x2c], edi
jb 0x40d261
mov eax, dword [esp + 0x18]
push eax
call fcn.0045850d
add esp, 4
cmp dword [ebp + 0xa0], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], 0
jle 0x40d323
mov ecx, dword [ebp + 0x9c]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x40d2cf
mov edx, dword [esp + 0x9c]
cmp dword [esi + 0x70], edx
jne 0x40d2cf
mov eax, dword [esp + 0xbc]
cmp eax, dword [esi + 0x78]
jne 0x40d2cf
cmp dword [esp + 0xb8], 8
mov eax, dword [esp + 0xa4]
lea ecx, [esi + 0x54]
jae 0x40d2bb
lea eax, [esp + 0xa4]
mov edi, dword [esp + 0xb4]
push eax
mov eax, dword [ecx + 0x14]
call fcn.004033f0
test eax, eax
je 0x40d2da
inc ebx
cmp ebx, dword [ebp + 0xa0]
jl 0x40d27b
jmp 0x40d31e
call fcn.0040a550
push esi
call fcn.0045850d
add esp, 4
test ebx, ebx
jl 0x40d31e
mov eax, dword [ebp + 0xa0]
cmp ebx, eax
jge 0x40d31e
dec eax
cmp ebx, eax
mov dword [ebp + 0xa0], eax
jge 0x40d31e
mov ecx, dword [ebp + 0x9c]
sub eax, ebx
add eax, eax
lea ecx, [ecx + ebx*4]
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.0045d440
add esp, 0xc
mov esi, 0xf
mov ebx, 0x10
cmp dword [esp + 0x64], ebx
jb 0x40d33b
mov eax, dword [esp + 0x50]
push eax
call fcn.0045850d
add esp, 4
xor edi, edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
cmp dword [esp + 0x98], ebx
jb 0x40d363
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0045850d
add esp, 4
cmp dword [esp + 0xb8], 8
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], edi
mov byte [esp + 0x84], 0
jb 0x40d393
mov edx, dword [esp + 0xa4]
push edx
call fcn.0045850d
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004584fe
add esp, 0x64
ret 0x44
Function at 0x40d3c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x47567b
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0xa8
mov dword [esp + 0x1c], 1
call fcn.00458595
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 2
test eax, eax
je 0x40d40f
push eax
call fcn.0040ba70
mov edi, eax
jmp 0x40d411
xor edi, edi
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00403920
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
mov dword [edi + 0x70], ecx
push 0
lea ecx, [edi + 0x54]
lea eax, [esp + 0x48]
call fcn.00403af0
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x78], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x47b54c
mov dword [edi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x40d467
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
inc dword [esi + 0xa0]
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0xa4]
cmp ecx, eax
jl 0x40d4b7
lea ebp, [eax + eax]
test ebp, ebp
jne 0x40d490
mov ebp, 0xb
mov ecx, dword [esi + 0x9c]
lea eax, [ebp*4]
push eax
push ecx
call fcn.004597c2
add esp, 8
test eax, eax
je 0x40d518
mov dword [esi + 0xa4], ebp
mov dword [esi + 0x9c], eax
mov edx, dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
mov dword [eax + edx*4 - 4], edi
cmp dword [esp + 0x38], 0x10
jb 0x40d4db
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0045850d
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jb 0x40d504
mov edx, dword [esp + 0x44]
push edx
call fcn.0045850d
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x10
ret 0x40
dec dword [esi + 0xa0]
jmp 0x40d4c7