joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x402755
xor eax, eax
jmp 0x4027e7
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402775
xor eax, eax
jmp 0x4027e7
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jbe 0x4027ca
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jae 0x4027ca
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
jmp 0x4027a1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jb 0x4027d6
xor eax, eax
jmp 0x4027e7
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4027e4
xor eax, eax
jmp 0x4027e7
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x40b4e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69f0a0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x737d28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004020d0
mov byte [ebp - 4], 3
fld dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
push 0x6c1e00
lea eax, [ebp - 0x20]
push eax
call fcn.00409eb0
add esp, 0x10
lea ecx, [ebp + 0x10]
call fcn.004023a0
mov esi, esp
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00402bb0
push eax
lea ecx, [ebp - 0x20]
call fcn.004023a0
push eax
lea ecx, [ebp + 0xc]
call fcn.004023a0
push eax
lea ecx, [ebp + 8]
call fcn.004023a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.006630d0
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0040bcc0
lea ecx, [ebp - 0x20]
call fcn.004023a0
push eax
call fcn.00663440
add esp, 4
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [ebp - 0xec]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00402220
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00402220
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00402220
fld dword [ebp - 0xec]
push edx
mov ecx, ebp
push eax
lea edx, [0x40b620]
call fcn.00663100
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret

Function at 0x40b770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x10]
call fcn.004023a0
mov esi, esp
push eax
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.004023a0
push eax
lea ecx, [ebp + 8]
call fcn.004023a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0xc8], eax
lea ecx, [ebp + 8]
call fcn.00402220
lea ecx, [ebp + 0xc]
call fcn.00402220
lea ecx, [ebp + 0x10]
call fcn.00402220
mov eax, dword [ebp - 0xc8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x40b930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69f168
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x737d28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004020d0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x14]
call fcn.004023a0
mov esi, esp
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00402bb0
push eax
lea ecx, [ebp + 0x18]
call fcn.004023a0
push eax
lea ecx, [ebp + 0x10]
call fcn.004023a0
push eax
lea ecx, [ebp + 0xc]
call fcn.004023a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call fcn.006630d0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040bcc0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402120
mov ecx, dword [ebp - 0xe0]
or ecx, 1
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00402220
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00402220
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00402220
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.00402220
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x40ba68]
call fcn.00663100
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x40c990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
lea edi, [ebp - 0xf4]
mov ecx, 0x3d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp esi, esp
call fcn.006630d0
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.006630d0
cmp dword [ebp - 8], 0
je 0x40cabe
mov eax, dword [ebp + 8]
mov dword [eax + 0x48], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], 0
mov esi, esp
push 0xf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
cmp esi, esp
call fcn.006630d0
mov eax, dword [ebp + 8]
add eax, 0x40
mov esi, esp
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40caa8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x3e5
je 0x40ca89
jmp 0x40ca99
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
jmp 0x40caa6
push str.WriteFile__
mov ecx, dword [ebp + 8]
call fcn.0040c860
jmp 0x40cabe
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.006630d0
cmp dword [ebp - 8], 0
jne 0x40cb07
mov dword [ebp - 8], 1
mov esi, esp
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.006630d0
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
push ecx
push 0
push 0x409
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.006630d0
push edx
mov ecx, ebp
push eax
lea edx, [0x40cb5c]
call fcn.00663100
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf4
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x40cb80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
lea edi, [ebp - 0x118]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x10d], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.006630d0
mov esi, esp
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.006630d0
cmp dword [ebp + 0x10], 0
jne 0x40cc19
jmp 0x40cd5b
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.006630d0
cmp dword [ebp - 8], 0
je 0x40ccb4
mov eax, dword [ebp + 8]
add eax, 0x40
mov esi, esp
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov byte [ebp - 0x10d], 1
lea edx, [ebp - 0x35]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ccad
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x3e5
je 0x40cc95
jmp 0x40cc9e
mov dword [ebp - 8], 0
jmp 0x40ccab
push str.ReadFile__
mov ecx, dword [ebp + 8]
call fcn.0040c860
jmp 0x40ccb4
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x40ccfa
mov dword [ebp - 8], 1
mov esi, esp
push 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40ccfa
push str.GetOverlappedResults___in_ReadFile__
mov ecx, dword [ebp + 8]
call fcn.0040c860
mov eax, dword [ebp + 8]
add eax, 0x10
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.006630d0
cmp byte [ebp - 0x10d], 0
jne 0x40cd26
push 0x40cdd5
call fcn.006663c0
add esp, 4
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
push ecx
movzx edx, byte [ebp - 0x35]
push edx
push 0x407
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.006630d0
jmp 0x40cbc1
push edx
mov ecx, ebp
push eax
lea edx, [0x40cd80]
call fcn.00663100
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x118
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x413750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00464240
mov esi, esp
push 0x101
push 0
push 0x1036
mov edi, esp
push 0x425
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, esp
call fcn.006630d0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.006630d0
mov ecx, dword [ebp - 8]
call fcn.00413ba0
mov esi, esp
push 0x425
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x14], eax
mov esi, esp
push 5
mov edi, esp
push 0x425
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, esp
call fcn.006630d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.006630d0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x4148d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov esi, esp
push str.USB_Driver.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.006630d0
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x414922
push 0
push 0
push 0x6c3a34
call fcn.00459740
mov esi, esp
push str.USB_Read
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], eax
mov esi, esp
push str.USB_Write
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov esi, esp
push str.Open_Device
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov esi, esp
push 0x6c3a04
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov esi, esp
push str.Light_Set
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov esi, esp
push str.Light_Get
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov esi, esp
push str.Data_Save
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov esi, esp
push str.Data_Get
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.006630d0
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x24], 1
mov eax, 0x4d8
mov ecx, dword [ebp - 8]
mov word [ecx + 0x26], ax
mov eax, 0x61
mov ecx, dword [ebp - 8]
mov word [ecx + 0x28], ax
mov eax, dword [ebp - 8]
mov byte [eax + 0x2c], 0
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ecx + 0x2a], ax
mov eax, dword [ebp - 8]
add eax, 0x24
mov esi, esp
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
call edx
add esp, 4
cmp esi, esp
call fcn.006630d0
test eax, eax
jne 0x414a74
jmp 0x414a82
push 0
push 0
push str.open_LS_fail_
call fcn.00459740
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret
Function at 0x44cc80
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a47c6
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2c8]
mov ecx, 0xaf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x737d28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push 0x6c111c
lea ecx, [ebp - 0x24]
call fcn.00402170
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x1bc], ax
push 0x18e
push 0
lea eax, [ebp - 0x1ba]
push eax
call fcn.00663460
add esp, 0xc
mov dword [ebp - 0x1c8], 0
mov esi, esp
lea eax, [ebp - 0x1bc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp esi, esp
call fcn.006630d0
mov esi, esp
push 0x6c111c
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x1c8], eax
mov esi, esp
push 0x10
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edi, esp
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp edi, esp
call fcn.006630d0
push eax
push 0x10
lea ecx, [ebp - 0x24]
call fcn.00402bb0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp esi, esp
call fcn.006630d0
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0040bcc0
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp esi, esp
call fcn.006630d0
mov dword [ebp - 0x1d4], 0
push 0x6c111c
lea ecx, [ebp - 0x1e0]
call fcn.00402170
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ec]
call fcn.004020d0
mov byte [ebp - 4], 3
mov dword [ebp - 0x1f8], 0
jmp 0x44cdd6
mov eax, dword [ebp - 0x1f8]
add eax, 1
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 3
jge 0x44ce2c
push 0x2e
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x24]
call fcn.004023a0
push eax
lea ecx, [ebp - 0x1ec]
push ecx
call fcn.00458bb0
lea ecx, [ebp - 0x1ec]
call fcn.0044ed30
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00402300
push 0x6c554c
lea ecx, [ebp - 0x1e0]
call fcn.0040a020
jmp 0x44cdc7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00402300
lea eax, [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x2618
call fcn.00402260
mov dword [ebp - 0x2c4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ec]
call fcn.00402220
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e0]
call fcn.00402220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402220
mov eax, dword [ebp - 0x2c4]
push edx
mov ecx, ebp
push eax
lea edx, [0x44ced8]
call fcn.00663100
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006630c0
add esp, 0x2c8
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret 4
Function at 0x44e610
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a48f0
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x174]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x737d28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x30]
call fcn.004020d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004023a0
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.006664b0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.004023a0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.006664b0
add esp, 8
mov dword [ebp - 0x80], 9
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0x6c111c
mov dword [ebp - 0x78], 0x6c111c
mov dword [ebp - 0x6c], 0
lea ecx, [ebp + 0x10]
call fcn.004023a0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x88]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0x55
ja 0x44e738
cmp dword [ebp - 0x174], 0x55
je 0x44e770
cmp dword [ebp - 0x174], 0
je 0x44e752
cmp dword [ebp - 0x174], 5
je 0x44e761
jmp 0x44e79b
cmp dword [ebp - 0x174], 0x1e7
je 0x44e77f
cmp dword [ebp - 0x174], 0x4c6
je 0x44e78e
jmp 0x44e79b
push 0x6c6664
lea ecx, [ebp - 0x30]
call fcn.004022b0
jmp 0x44e79b
push 0x6c6654
lea ecx, [ebp - 0x30]
call fcn.004022b0
jmp 0x44e79b
push 0x6c663c
lea ecx, [ebp - 0x30]
call fcn.004022b0
jmp 0x44e79b
push 0x6c6630
lea ecx, [ebp - 0x30]
call fcn.004022b0
jmp 0x44e79b
push 0x6c6624
lea ecx, [ebp - 0x30]
call fcn.004022b0
cmp dword [ebp - 0xa0], 0
je 0x44e7b4
cmp dword [ebp - 0xa0], 0x55
je 0x44e7b4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402220
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00402220
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00402220
mov eax, dword [ebp - 0x16c]
push edx
mov ecx, ebp
push eax
lea edx, [0x44e834]
call fcn.00663100
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006630c0
add esp, 0x174
cmp ebp, esp
call fcn.006630d0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45e3a0
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x463590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.0045e8f0
mov dword [ebp - 8], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4635e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x463602
push 0x113
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.00487100
test eax, eax
je 0x463602
int3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00463640
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004634f0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8