joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x230], eax
cmp dword [0x4ccb5c], 0
push esi
jne 0x41e6a7
push 0x104
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.004553e0
push 0x104
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.004553e0
push str.Chinese_simplified
push 0
call fcn.00452878
add esp, 0x20
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call fcn.0044f594
mov esi, eax
add esp, 8
test esi, esi
jne 0x41e5cf
lea esi, [esp + 0x128]
jmp 0x41e5d0
inc esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4b1de4
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x4ccb60
call fcn.0044f65a
push 0x4b1de4
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x4ccd6a
call fcn.0044f65a
push 0x4b1de4
push esi
lea eax, [esp + 0x58]
push eax
push str._s_s__s
push 0x104
push 0x4ccc65
call fcn.0044f65a
add esp, 0x48
push 0x4b1de4
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x4cce6f
call fcn.0044f65a
push 0x4b1dd0
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x4ccf74
call fcn.0044f65a
add esp, 0x30
lea eax, [esp + 8]
push eax
mov dword [0x4ccb5c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x234]
imul eax, eax, 0x105
pop esi
xor ecx, esp
add eax, 0x4ccb60
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret
Function at 0x41ea00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, word [esp + 4]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x41ea46
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ea3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41ea92
test ebp, ebp
jne 0x41ea85
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ebx], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eaec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
ret 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41eaba
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eab2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x41ead6
lea ecx, [esp + 0x14]
call fcn.00402d00
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push eax
push ebp
call fcn.00457530
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [ebx], edi
call fcn.00402d00
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x41f790
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0x41f780
call fcn.0043a643
mov edi, eax
call fcn.00435396
test eax, eax
jne 0x41f7bc
push 0x80004005
call fcn.00402c90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
add esi, 0x10
call fcn.0041ef30
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 8]
mov dword [esp + 8], 0
mov edx, dword [edi + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 8]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f81c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ecx
ret
Function at 0x41f840
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x41f889
push edi
call fcn.0042e6a6
mov ecx, dword [esp + 8]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call sub.VERSION.dll_GetFileVersionInfoA
mov edx, dword [esi]
test eax, eax
jne 0x41f890
push edx
call fcn.0042e69b
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
add esp, 0xc
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.VarFileInfoTranslation
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41f8ae
mov eax, dword [esi]
push eax
jmp 0x41f874
mov eax, dword [esp + 8]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
mov eax, 1
pop edi
add esp, 0xc
ret

Function at 0x41fa90
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0042e6a6
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x41fb1a
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea ecx, [ecx]
test dword [esi + 0xc], 0x100000
jne 0x41fae3
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
mov dword [esp + 0x18], 0
call ebx
push esi
call fcn.0042e69b
mov edx, dword [esp + 0x10]
push edx
call fcn.0042e6a6
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x41fad0
lea ebx, [eax + 1]
test esi, esi
je 0x41fb27
push esi
call fcn.0042e69b
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x41fe80
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x491e1b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00453840
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x2718], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x2730]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
call fcn.00435396
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fedd
push 0x80004005
call fcn.00402c90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2710
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x2744], 0
call fcn.004553e0
add esp, 0xc
test esi, esi
jne 0x41ff14
xor eax, eax
jmp 0x41ff29
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ff20
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402be0
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x41ff5d
push esi
lea ecx, [esp + 0x18]
call fcn.00402b30
mov ecx, dword [esp + 0x14]
mov byte [edi + ecx], 0x5c
test esi, esi
jl 0x42009c
cmp esi, dword [ecx - 8]
jg 0x42009c
mov dword [ecx - 0xc], esi
mov byte [esi + ecx], 0
test ebx, ebx
jne 0x41ff81
xor eax, eax
jmp 0x41ff8f
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ff86
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402570
mov ebp, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42000a
mov dword [esp + 0x2738], eax
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ffe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2718]
xor ecx, esp
call fcn.0044e1ea
add esp, 0x2728
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x420064
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
push 0
cmp edi, 0x2710
jbe 0x420056
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0x28]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x420030
jmp 0x420064
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2738], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420092
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41ffe2
push 0x80070057
call fcn.00402c90
int3
Function at 0x420870
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x4208d3
cmp dword [esi + 0x80], 0
je 0x4208d9
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4208d9
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x420dc0
push 0
push 0
call fcn.00453033
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x4208d3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4208d3
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x4208d3
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x420960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00442d39
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push str.PIC_JPEG
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x420a0e
call fcn.00442d39
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x420a0e
call fcn.00442d39
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x420a0e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x420a07
test ebx, ebx
je 0x420a07
push edi
push eax
push ebx
call fcn.00457530
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x18]
push edi
push esi
call fcn.00420280
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x4237f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491588
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0043f606
push eax
lea ecx, [esp + 0x30]
call fcn.0044420b
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0043f606
mov ecx, eax
call fcn.00443f13
cmp dword [esi + 0x11c], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x423911
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x118]
call fcn.00444173
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x128]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00444445
test edi, edi
je 0x4238cb
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x11c]
push edi
push eax
call fcn.004444d4
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x11c]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x118]
test edx, edx
je 0x42392e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0044425f
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x4241f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4924a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
call fcn.00442d39
movzx ebp, word [esp + 0x50]
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push 0
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [esp + 0x54]
mov edi, eax
push ecx
xor ebx, ebx
mov eax, esi
call fcn.00423d50
xor eax, eax
mov edi, vtable.CBitmap.0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], eax
call fcn.00442d39
mov eax, dword [eax + 0xc]
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00444445
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0043f606
mov ecx, eax
call fcn.00443f13
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 1
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0043c55d
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00407eb0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret 8
Function at 0x429290
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x42929f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [section..data]
test eax, eax
je 0x4292ad
call fcn.00429140
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x4293a1
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x4c8140]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8140]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4c8140]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8140]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4c8140]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8140]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x4c8140]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8140]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4292c7
pop edi
pop ebx
test edx, edx
je 0x4293c1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c8140]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x4293a5
not eax
pop esi
ret 0xc
Function at 0x437376
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4373be
call fcn.00442d39
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4373be
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x437401
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4373ea
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4373ea
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4373fe
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43881d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x438841
cmp dword [edi + 0x54], 0
jne 0x438841
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00442d39
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004387de
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43cb3d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48f0f9
call fcn.004552d1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43cb62
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43cba8
lea ecx, [ebp - 0x10]
call fcn.00408250
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00435952
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402ce0
mov eax, esi
call fcn.004553a9
ret 8
Function at 0x442375
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4423bc
call fcn.00442d39
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4423bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4423d8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00441eef
mov esi, eax
test edi, edi
je 0x4423d6
test ebx, ebx
je 0x4423d6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44511a
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x445145
call fcn.00442d39
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x445168
push eax
push dword [esi + 4]
call fcn.004450a0
push esi
push eax
mov ecx, 0x4ca0e0
call fcn.00444d14
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x445b67
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x48f5aa
call fcn.004552d1
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.00445b27
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00408250
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x445bce
push eax
push dword [esi + 8]
call fcn.004450a0
push dword [esi + 0xc]
mov ecx, 0x4ca0e0
push eax
call fcn.00444d14
mov eax, esi
call fcn.004553a9
ret 0x1c

Function at 0x44e1ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3aa8]
jne 0x44e1f4
repz ret
jmp fcn.0045741f