joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411640
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x800
lea eax, [esp + 0x808]
lea edx, [esp]
push ebx
push esi
push edi
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_vsprintf]
mov edi, 0x5cf448
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
pop edi
pop esi
pop ebx
add esp, 0x800
ret
Function at 0x41a870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x568539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov edx, dword [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
cmp ecx, eax
push edi
mov dword [esp + 0xc], ebx
jle 0x41a8e2
mov esi, dword [esp + 0x30]
mov al, byte [esp + 0x30]
mov edi, 0x5e5830
or ecx, 0xffffffff
mov byte [esi], al
xor eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5e5830
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov esi, dword [edx + 0xc]
sub eax, ecx
inc eax
add esi, ecx
mov cl, byte [esp + 0x30]
push ebp
mov ebp, eax
mov byte [esp + 0x14], cl
push 1
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x41a931
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x34]
mov al, byte [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x18]
pop ebp
cmp ecx, ebx
je 0x41a996
mov al, byte [ecx - 1]
cmp al, bl
je 0x41a98c
cmp al, 0xff
je 0x41a98c
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x41c520
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
call fcn.0041c620
test al, al
je 0x41c60c
push ebx
push edi
call fcn.0041d750
mov ecx, eax
call fcn.00527810
mov edi, eax
push edi
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c56c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c5b7
push ebx
push 0x178
call sub.MFC42.DLL_CDialog::Create
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 1
push 0
add eax, 0x16
push 0
add ecx, 0x16
push eax
push ecx
mov ecx, dword [esi + 0xc]
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esi + 0xc]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0xc]
call fcn.0041bdc0
mov byte [esi + 0x228], 1
mov ecx, esi
call fcn.0041c840
push str.EVENT
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov edi, dword [sym.imp.MSVCRT.dll__beginthreadex]
push 0
push 0
push esi
push 0x41ce60
push 0
push 0
mov dword [esi + 0x22c], eax
call edi
push 0
push 0
push esi
push 0x41d0d0
push 0
push 0
mov dword [esi + 0x234], eax
call edi
add esp, 0x30
mov dword [esi + 0x230], eax
pop edi
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x41c840
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x234]
test eax, eax
je 0x41c87d
push 0xa
push eax
call ebp
cmp eax, 0x102
jne 0x41c87d
mov eax, dword [esi + 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
mov ecx, dword [esi + 0x234]
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x234]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x41c89a
push eax
call edi
mov dword [esi + 0x234], 0
mov eax, dword [esi + 0x230]
test eax, eax
je 0x41c8cc
push 0xa
push eax
call ebp
cmp eax, 0x102
jne 0x41c8cc
mov edx, dword [esi + 0x230]
push edx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
mov eax, dword [esi + 0x230]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x230]
test eax, eax
je 0x41c8e3
push eax
call edi
mov dword [esi + 0x230], 0
mov eax, dword [esi + 0x22c]
test eax, eax
je 0x41c8fa
push eax
call edi
mov dword [esi + 0x22c], 0
pop edi
pop esi
pop ebp
ret
Function at 0x422810
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov ebx, ecx
test ebp, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
jne 0x422853
test ebx, ebx
mov dword [esp + 8], 1
jne 0x42283b
xor eax, eax
jmp 0x42283e
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [esp + 0x40], eax
je 0x42296d
mov ebp, eax
mov eax, dword [ebx + 0xb0]
push esi
mov ecx, eax
push edi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x42286a
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edi, dword [ebx + ecx*4 + 0x84]
inc eax
test edi, edi
mov dword [ebx + 0xb0], eax
je 0x422944
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x422944
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ebx
push esi
call ebp
push edi
push esi
mov dword [esp + 0x1c], eax
call ebp
lea eax, [esp + 0x2c]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add edx, 0x6e
add eax, 0x4f
add edi, edx
add ecx, eax
push 0xcc0020
mov dword [esp + 0x2c], edi
push 0
mov dword [esp + 0x2c], ecx
push 0
sub edi, edx
push esi
sub ecx, eax
push edi
push ecx
mov dword [esp + 0x38], edx
push edx
mov edx, dword [esp + 0x64]
push eax
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
push eax
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop esi
je 0x42296d
test ebx, ebx
jne 0x422962
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
add esp, 0x34
ret 4
mov ebx, dword [ebx + 0x20]
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x422d70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5695c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], 6
mov dword [esp + 0x20], 0x15
mov dword [esp + 0x24], 0x16
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x2c], 0x1d
mov dword [esp + 0x30], 0x29
mov dword [esp + 0x34], 0x35
mov dword [esp + 0x38], 0x37
mov dword [esp + 0x3c], 0x4f
mov dword [esp + 0x40], 0x59
mov dword [esp + 0x44], 0x66
mov dword [esp + 0x48], 0x69
mov dword [esp + 0xc], ebx
mov eax, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], 0x5ed920
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x54], 1
cmp eax, ebx
jne 0x422e7a
cmp dword [0x5e5cb4], ebx
jne 0x422e7a
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x54], 2
je 0x422e4e
push ebx
mov ecx, eax
call fcn.00414650
jmp 0x422e50
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x54], 1
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x54], bl
call dword [edx + 8]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004844a0
cmp eax, ebx
jl 0x422f05
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x422f09
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
push edx
push 0x5d0280
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], 3
cmp eax, ebx
je 0x422ef7
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
xor edx, edx
lea esi, [esp + 0x18]
cmp eax, dword [esi]
jne 0x422eea
mov ecx, dword [edi + 0x444]
cmp ecx, 1
je 0x422f32
cmp ecx, 2
je 0x422f32
inc edx
add esi, 4
cmp edx, 0xd
jl 0x422ed6
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x54], bl
je 0x422f05
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x54], 0xffffffff
je 0x422f1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov eax, dword [esp + 0x10]
mov byte [esp + 0x54], bl
cmp eax, ebx
je 0x422f44
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
cmp eax, ebx
je 0x422f5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x437060
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x56badb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CCannotPlayResolveStatue.0
mov eax, dword [0x5ed8a0]
mov ecx, 0x5ed8a0
mov dword [esp + 0x24], 7
mov dword [esp + 0x14], 0x5ed8a0
call dword [eax + 4]
mov eax, dword [0x5e606c]
mov bl, 8
test eax, eax
mov byte [esp + 0x24], bl
jne 0x437108
mov eax, dword [0x5e6068]
test eax, eax
jne 0x437108
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x24], 9
je 0x4370dd
mov ecx, eax
call fcn.00431440
jmp 0x4370df
xor eax, eax
mov ecx, dword [0x5d1748]
mov byte [esp + 0x24], bl
push ecx
push 0x430f30
mov ecx, 0x5eafa0
mov dword [0x5e6068], eax
call fcn.00406600
mov dword [0x5e606c], 1
mov edx, dword [0x5ed8a0]
mov ebp, dword [0x5e6068]
mov ecx, 0x5ed8a0
mov byte [esp + 0x24], 7
call dword [edx + 8]
lea edi, [esi + 0x108]
mov ecx, ebp
push edi
call fcn.00434f50
mov eax, dword [esi + 0x264]
test eax, eax
je 0x43714f
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ebp, [esi + 0x17c]
mov dword [esp + 0x18], ebp
lea ebx, [ebp + 0xe0]
mov dword [esp + 0x14], ebx
mov dword [ebx], vtable.CGdiObject.0
mov ecx, ebx
mov byte [esp + 0x24], 0xd
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [ebp + 0xa0]
mov dword [ebx], vtable.CObject.0
mov byte [esp + 0x24], 0xb
call sub.MFC42.DLL_CAnimateCtrl::CAnimateCtrl
lea ecx, [ebp + 0x60]
mov byte [esp + 0x24], 0xa
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, ebp
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esi + 0x120]
mov byte [esp + 0x24], 5
call fcn.00564d70
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea edi, [esi + 0x100]
mov dword [esp + 0x18], edi
mov dword [edi], vtable.CGdiObject.0
mov ecx, edi
mov byte [esp + 0x24], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esi + 0xf8]
mov dword [edi], vtable.CObject.0
mov byte [esp + 0x24], 2
call fcn.00564ea2
lea ecx, [esi + 0xa0]
mov byte [esp + 0x24], 1
call fcn.00430520
lea ecx, [esi + 0x60]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CStatic::CStatic
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x438900
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56bcd2
push eax
mov dword fs:[0], esp
sub esp, 0x20
xor eax, eax
push esi
mov esi, dword [esp + 0x34]
cmp esi, eax
je 0x43897f
mov ecx, dword [esp + 0x38]
cmp ecx, eax
je 0x43897f
mov dl, byte [esp + 0x34]
mov dword [esp + 8], eax
mov byte [esp + 4], dl
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dl, byte [esp + 0x34]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
add ecx, 0x30
add esi, 0x30
push ecx
push esi
mov byte [esp + 0x34], 1
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov ecx, dword [esp + 0x24]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x43a460
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x358], eax
mov eax, dword [esi + 0x60]
cmp eax, 1
mov dword [esi + 0x35c], ecx
jne 0x43a4b8
mov eax, dword [esi + 0x380]
lea edi, [esi + 0x380]
test eax, eax
jne 0x43a4a8
push edi
push 0x5cf998
call fcn.00413420
mov ecx, eax
call fcn.0047a4a0
mov eax, dword [edi]
test eax, eax
je 0x43a4b8
mov edx, dword [eax]
push 0x5cf990
push str.DAILY.BKBNOPLAYBTNSUCC2
push eax
call dword [edx + 0x24]
mov ecx, esi
call fcn.0043a510
test eax, eax
je 0x43a4fc
push 0
push 0
push esi
push 0x438a90
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov dword [esi + 0x37c], eax
mov eax, dword [esi + 0x358]
add esp, 0x18
test eax, eax
je 0x43a4fc
mov eax, dword [esi + 0x26c]
lea ecx, [esi + 0x26c]
call dword [eax + 0xc0]
pop edi
pop esi
ret 8
Function at 0x43de30
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c8ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 8
push ebx
push str.DllCheck.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
cmp eax, ebx
je 0x43e055
push str.ModuleDllCheck
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x43e055
push ebx
push ebx
push 1
push 0xffffffffffffffff
call esi
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0x14], eax
jne 0x43e055
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x10
push 0x5d2b80
push 0x5d2b50
push ebx
call edi
lea eax, [ebp - 0x18]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, ebx
jne 0x43dee4
push 0x10
push 0x5d2b80
push 0x5d2af4
push ebx
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push 1
push 0x20
call esi
add esp, 0x10
and eax, 0xff
mov dword [ebp - 0x14], eax
jne 0x43dfd9
push ebx
lea ecx, [ebp - 0x138]
call fcn.00449360
push str.http:__download.baofeng.com_stormII_stormfix_stormfix.exe
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.00449520
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x43df93
push 0x10
push 0x5d2b80
push 0x5d2a6c
push ebx
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0055f0b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CDialog::CDialog
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.0055f0b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CDialog::CDialog
jmp 0x43e016
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x23c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [ebp - 0x23c]
push str...StormUpdate.exe
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x23c]
push ebx
push eax
call fcn.004539d0
add esp, 8
push ebx
push ebx
push 1
push 0xffffffffffffffff
call esi
add esp, 0x10
cmp al, bl
jne 0x43e047
push 0x10
push 0x5d2b80
push 0x5d2a0c
push ebx
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x5d2b80
push 0x5d29ec
push ebx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f800
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0xc0
push esi
push edi
mov ecx, 9
xor eax, eax
lea edi, [esp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
rep stosd dword es:[edi], eax
mov ecx, 0x27
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x9c
push eax
call esi
test eax, eax
jne 0x43f855
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x94
push ecx
call esi
test eax, eax
jne 0x43f855
pop edi
pop esi
add esp, 0xc0
ret
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xd0]
push str.GetNativeSystemInfo
mov dword [edx], eax
mov edx, dword [esp + 0x38]
push str.kernel32.dll
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x43f893
lea ecx, [esp + 8]
push ecx
call eax
jmp 0x43f89e
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x3c]
sub eax, 2
je 0x43f8b2
pop edi
xor eax, eax
pop esi
add esp, 0xc0
ret
mov ax, word [esp + 8]
cmp ax, 6
jne 0x43f8cb
pop edi
mov eax, 2
pop esi
add esp, 0xc0
ret
xor ecx, ecx
cmp ax, 9
sete cl
pop edi
mov eax, ecx
pop esi
add esp, 0xc0
ret
Function at 0x44c720
Capabilities:
Check os version
Set global application hook

Disassembly:
sub esp, 0xac
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x7c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x7c]
mov edi, eax
xor eax, eax
inc edi
sub ecx, edi
add edi, ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CDialog::PreModal
mov dword [ebx + 0x64], eax
call sub.MFC42.DLL_AfxUnhookWindowCreate
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x44c79d
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44c79d
mov eax, dword [ebx + 0x64]
push 0
push eax
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_EnableWindow]
call sub.MFC42.DLL_AfxGetThreadState
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x18], eax
test ecx, 0x80000
je 0x44c7b9
mov dword [eax + 0x18], ebx
jmp 0x44c7bf
push ebx
call sub.MFC42.DLL_AfxHookWindowCreate
lea ebp, [ebx + 0x1fc]
mov ecx, 0x16
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x60]
mov ecx, 0x13
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, 0x27
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x9c
push ecx
call esi
test eax, eax
jne 0x44c813
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0x94
push edx
call esi
test eax, eax
je 0x44c82a
mov eax, dword [esp + 0x30]
sub eax, 2
jne 0x44c82a
cmp dword [esp + 0x24], 5
jb 0x44c82a
mov dword [ebp], 0x58
mov dword [0x5e60cc], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
push 0
push 0x44c990
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5e60c8], eax
mov eax, dword [ebx + 0xac]
test eax, eax
push ebp
je 0x44c862
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
jmp 0x44c868
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
mov dword [esp + 0x14], eax
mov eax, dword [0x5e60c8]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x5e60cc]
test eax, eax
je 0x44c889
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
lea eax, [ebx + 0x60]
mov ecx, 0x13
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [eax], 0x4c
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [ecx + 0x18], 0
je 0x44c8c5
mov edx, dword [ebx + 0x200]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c8db
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call sub.MFC42.DLL_CDialog::PostModal
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x44c8f3
mov eax, 2
add esp, 0xac
ret