joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403e7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x407028
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4010f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403eaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x407034
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4011a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40703c
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4031b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40441f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x4070f8
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x403700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40446f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x407270
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x4037c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40449f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x40728c
push ecx
push 8
push 1
push 5
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x403880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4044cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_1
movsx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x407298
push ecx
push 8
push 1
push 3
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_COleDispatchDriver::InvokeHelper
mov esi, dword [esp + 0x38]
add esp, 0x1c
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0040391c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x428db0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x4b3680]
sub esp, 0x218
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x428dd3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x218
ret
mov ebx, dword [esp + 0x230]
jmp loc.004ea6f0

Function at 0x428ff0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [0x4ce7bc]
sub esp, 0xc
push esi
push 0x104
push 0x4b3688
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x429018
mov byte [0x4b3688], al
pop esi
add esp, 0xc
ret
lea ecx, [esp + 8]
push ecx
push 0x4b3688
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4290c7
push edi
push 0
push 0x719
push str.C:war2bneLANGSourceINIT.cpp
push esi
call sub.Storm.dll_Ordinal_401
mov edi, eax
push edi
push esi
push 0
push 0x4b3688
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4290b4
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
push 0x494fdc
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4290b4
mov ecx, dword [esp + 8]
push 0x4f
push 1
push 1
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov edx, eax
and edx, 0xffff
add edx, 0x40
shr eax, 0x10
push edx
push eax
mov eax, ecx
and eax, 0xffff
shr ecx, 0x10
push eax
push ecx
push str.Warcraft_II_BNE_v_d._d_d
push 0x104
push str.internal_version_unknown
call fcn.00489aa0
add esp, 0x28
push 0
push 0x757
push str.C:war2bneLANGSourceINIT.cpp
push edi
call sub.Storm.dll_Ordinal_403
pop edi
pop esi
add esp, 0xc
ret
Function at 0x431e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov al, byte [0x4b4914]
test al, al
jne 0x431ff5
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov bl, 1
push esi
mov byte [0x4b4914], bl
call ebp
mov ecx, dword [0x4b4908]
add ecx, 0x1d4c0
cmp eax, ecx
ja 0x431e96
mov eax, dword [0x4b48e0]
cmp eax, 2
jb 0x431ff6
sub eax, 2
cmp eax, 0x2d
jbe 0x431e9b
mov eax, 0x2d
mov dword [0x4b48e0], eax
call fcn.004203f0
push 0x4321b0
push str.rez_btimeout.bin
mov byte [0x4b3fd4], bl
call fcn.0042ec30
add esp, 8
mov byte [0x4b3fd4], 0
call fcn.004051d0
mov dword [0x4b4904], 0
call ebp
mov esi, eax
mov al, byte [0x4ce53a]
test al, al
jne 0x431fc3
mov eax, dword [0x4b4904]
test eax, eax
jne 0x431fc3
call fcn.004788d0
call fcn.00477df0
push 3
call fcn.0041c750
add esp, 4
call fcn.00432000
call ebp
lea edx, [esi + 0x3e8]
cmp eax, edx
jbe 0x431fac
mov eax, dword [0x4b4918]
test eax, eax
je 0x431fa8
mov ecx, dword [0x4b48e0]
test ecx, ecx
je 0x431f38
dec ecx
mov dword [0x4b48e0], ecx
push 0xffffffffffffffe2
push eax
call fcn.00402ad0
mov ecx, dword [0x4b48e0]
mov esi, eax
mov eax, ecx
xor edx, edx
mov ebx, 0x3c
add esp, 8
div ebx
mov eax, 0x88888889
push edx
mul ecx
shr edx, 5
push edx
push str._d:_02d
push 0x20
push 0x4b48e4
call fcn.00489aa0
push esi
mov dword [esi + 0x14], 0x4b48e4
call fcn.004043a0
mov eax, dword [0x4b48e0]
add esp, 0x18
test eax, eax
jne 0x431fa8
push esi
call fcn.00404480
mov eax, dword [0x4b4918]
push 2
push eax
call fcn.00402ad0
push eax
call fcn.00404840
add esp, 0x10
call ebp
mov esi, eax
call fcn.004551e0
call fcn.004051d0
mov al, byte [0x4ce53a]
test al, al
je 0x431ee4
mov eax, dword [0x4b4918]
test eax, eax
je 0x431fdf
push eax
call fcn.004055a0
add esp, 4
mov dword [0x4b4918], 0
call fcn.004051d0
mov byte [0x4b4914], 0
call ebp
pop esi
pop ebp
mov dword [0x4b4908], eax
pop ebx
ret
xor eax, eax
jmp 0x431e9b

Function at 0x433020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov al, byte [0x4b494e]
test al, al
jne 0x43303d
push 3
call fcn.0045afc0
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x433042
mov byte [esp], 1
push esi
push edi
mov edi, dword [esp + 8]
mov esi, 0x490bb5
and edi, 0xff
movzx ax, byte [esi - 1]
mov ecx, dword [0x4b4970]
push eax
push ecx
call fcn.00402ad0
xor edx, edx
mov dl, byte [esi]
xor edx, edi
push edx
push eax
call fcn.00404620
add esi, 2
add esp, 0x10
cmp esi, 0x490bbf
jb 0x433053
pop edi
pop esi
pop ecx
ret
Function at 0x434630
Capabilities:
Check http status code

Disassembly:
sub esp, 0x1d4
mov edx, dword [esp + 0x1d8]
push edi
or ecx, 0xffffffff
xor eax, eax
lea edi, [edx + 0x11]
mov byte [esp + 0xa], 0x13
repne scasb al, byte es:[edi]
mov eax, dword [0x4ae21c]
not ecx
dec ecx
add cl, 0x19
test eax, eax
mov byte [esp + 4], cl
je 0x434666
inc cl
mov byte [esp + 4], cl
lea eax, [esp + 0xc]
push eax
push edx
call fcn.0040d630
mov edx, dword [esp + 0xc]
add esp, 8
cmp word [0x4b3bec], 0
je 0x4347d3
mov edi, 0x4b3ae8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, edx
dec ecx
and eax, 0xff
lea ecx, [ecx + eax + 1]
cmp ecx, 0xc8
ja 0x4347d3
mov edi, 0x4b3ae8
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0xdc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor ebp, ebp
rep movsb byte es:[edi], byte [esi]
mov esi, str.ClassicExpansionScenario
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x4b3ae8
call fcn.0047d120
add esp, 0xc
test eax, eax
je 0x43470b
add esi, 0x28
inc ebp
cmp esi, str.puds_strange
jb 0x4346de
jmp 0x434770
lea edx, [ebp + ebp*4]
or ecx, 0xffffffff
shl edx, 3
xor eax, eax
lea ebp, [esp + 0xdc]
lea edi, [edx + str.puds_strange]
push 0x104
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + str.ClassicExpansionScenario]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x4b3ae8
push ecx
lea ecx, [esp + 0xe4]
push ecx
call fcn.0047d430
add esp, 0xc
mov byte [esp + 0x1df], 0
lea edx, [esp + 0xdc]
push edx
call fcn.0047d2fc
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0xc]
lea esi, [esp + 0xdc]
not ecx
and eax, 0xff
mov edx, ecx
shr ecx, 2
lea edi, [esp + eax + 0xc]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [esp + 0xc]
pop esi
not ecx
dec ecx
pop ebp
inc cl
add al, cl
mov byte [esp + 4], al
jmp 0x4347e8
and edx, 0xff
mov byte [esp + edx + 4], 0
mov al, byte [esp + 4]
inc al
mov byte [esp + 4], al
lea eax, [esp + 4]
push eax
call fcn.0045b4d0
add esp, 4
pop edi
add esp, 0x1d4
ret
Function at 0x434920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xbd
push str.C:war2bneLANGSourceNEWCMPGN.cpp
push fcn.00462fa0
push fcn.00462d30
push str.rez_newcmpgn.bin
call fcn.00404cd0
push 0x434a00
push 3
push eax
call fcn.00405720
lea ecx, [eax - 1]
add esp, 0x20
xor dl, dl
cmp ecx, 3
ja case.default.0x434958
jmp dword [ecx*4 + 0x4349e8]
mov byte [0x4abb2c], 1
mov word [0x4abd52], 0x52c9
cmp eax, 0xfffffffd
je 0x4349e6
push 1
mov byte [0x4acbde], dl
call fcn.00420490
add esp, 4
jmp fcn.00441250
mov byte [0x4abb2c], dl
mov word [0x4abd52], 0x52c8
jmp case.default.0x434958
push 0xf
mov byte [0x4abb2c], 1
mov word [0x4abd52], 0x53c7
mov byte [0x4acbde], 0
call fcn.00420490
add esp, 4
jmp fcn.00441250
xor dl, dl
push 0xf
mov byte [0x4abb2c], dl
mov word [0x4abd52], 0x53c6
mov byte [0x4acbde], dl
call fcn.00420490
add esp, 4
jmp fcn.00441250
ret

Function at 0x43dbb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov al, byte [0x4ae80e]
push ebx
xor ebx, ebx
cmp al, bl
jne 0x43df4d
cmp byte [0x4ae0a9], bl
jne 0x43df4d
push ebp
push esi
push edi
or edi, 0xffffffff
cmp word [0x4bb698], bx
jg 0x43de74
mov eax, dword [0x4d5248]
mov cx, word [0x4d524a]
jmp loc.004eaed0
xor ebp, ebp
jmp fcn.0043dc77
xor ax, ax
pop ebx
pop ecx
ret

Function at 0x440d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov al, byte [0x4bdb38]
sub esp, 8
test al, al
je 0x440e6c
mov edx, dword [0x4bdb28]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
call sub.Storm.dll_Ordinal_258
mov eax, dword [0x4bdb34]
test eax, eax
jne 0x440dbb
mov eax, dword [0x4a1848]
cmp byte [eax*8 + 0x4a1899], 1
je 0x440dbb
mov eax, dword [esp]
cmp eax, 0x96640
jbe 0x440dbb
mov ecx, dword [esp + 4]
add eax, 0xfff699c0
cmp ecx, eax
jbe 0x440dbb
mov eax, dword [0x4bdb28]
mov dword [0x4bdb34], 1
test eax, eax
je 0x440dbb
mov al, byte [0x4bdb38]
test al, al
je 0x440dbb
mov eax, dword [0x4d6af4]
test eax, eax
je 0x440dbb
mov edx, dword [0x4ce7b8]
mov ecx, dword [0x4bdb2c]
push 3
push edx
mov dword [0x4bdb30], ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4ce7b8]
push 0x4410c0
push 0x14
push 3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, ecx
jb 0x440e6c
mov edx, dword [0x4bdb28]
push 0
push 0xffffd8f0
push edx
call sub.Storm.dll_Ordinal_261
mov eax, dword [0x4bdb28]
mov dword [0x4bdb34], 0
push eax
call sub.Storm.dll_Ordinal_257
mov ecx, dword [0x4a1848]
cmp byte [ecx*8 + 0x4a1899], 2
jne 0x440e6c
mov eax, dword [0x4bdb3c]
test eax, eax
jne 0x440e24
call sub.KERNEL32.dll_GetTickCount
mov dword [0x4bb908], eax
mov dword [0x4bdb3c], 1
add esp, 8
ret
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [0x4bb908]
cmp eax, 0x7d0
jb 0x440e6c
mov edx, dword [0x4bdb2c]
mov eax, dword [0x4bdb28]
push 0
push edx
push eax
mov dword [0x4bdb3c], 0
call sub.Storm.dll_Ordinal_261
mov edx, dword [0x4a1848]
xor ecx, ecx
mov cl, byte [edx*8 + 0x4a189b]
push ecx
call fcn.00440ea0
add esp, 4
add esp, 8
ret
Function at 0x4600f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov dword [0x4ce7bc], esi
call fcn.00488a80
push str.Warcraft_II
push str.War2Class
push esi
call fcn.0045e760
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x1c]
add esp, 0xc
rep stosd dword es:[edi], eax
mov eax, dword [0x4ce7bc]
push 0x65
push eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x45efd0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 5
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x34], str.War2Class
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x46018e
push str.RegisterClass
call fcn.00488ae0
add esp, 4
mov ecx, dword [0x4ce7bc]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push ecx
push 0
push 0
push 1
nop
nop
nop
push 1
nop
nop
nop
push 0
push 0
push 0x90080000
push str.Warcraft_II
push str.War2Class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x4ce7b8], eax
jne 0x4601e1
push str.CreateWindowEx
call fcn.00488ae0
mov eax, dword [0x4ce7b8]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [0x4ce7b8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4ce798]
test eax, eax
je 0x46023a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [0x4ce7b8], eax
je 0x4602d7
call fcn.00462c70
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call esi
test eax, eax
je 0x4602c2
mov ecx, dword [0x4ab950]
test ecx, ecx
je 0x4602a1
mov eax, dword [0x4ce7b8]
test eax, eax
je 0x4602a1
lea edx, [esp + 0x10]
push edx
push ecx
push eax
call edi
test eax, eax
je 0x4602a1
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ce7b8]
cmp eax, ecx
jne 0x4602af
mov eax, dword [esp + 0x14]
cmp eax, 0x100
je 0x460292
cmp eax, 0x104
jne 0x4602af
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048a870
add esp, 4
jmp 0x4602af
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
jne 0x460252
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x3c]
cmp eax, 0x7d0
jbe 0x46021f
call fcn.004eb510
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10
Function at 0x466ab0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.00463f10
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
mov ebx, eax
push 0x409
push esi
call edi
test ebx, ebx
mov ebp, eax
je 0x466b12
cmp byte [ebx + 0x12], 1
je 0x466aec
cmp word [ebx], 0xe
jne 0x466b12
push 6
push 1
push 0x405
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0x60004
push 0x114
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
jmp 0x466b14
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dx, word [0x4d0938]
mov ax, word [0x4d0930]
push edx
push eax
call fcn.00464130
add esp, 8
test eax, eax
je 0x466b4d
push 5
push 0x3f9
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 5
jmp 0x466b62
push 0
push 0x3f9
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 0
push 0x406
push esi
call edi
push eax
call ebp
test ebx, ebx
je 0x466bd3
cmp word [ebx], 0x10
jne 0x466b95
push 0
push 0x418
push esi
call edi
push eax
call ebp
push 0
push 0x3f1
push esi
call edi
push eax
call ebp
push 0
jmp 0x466bb1
push 5
push 0x418
push esi
call edi
push eax
call ebp
push 5
push 0x3f1
push esi
call edi
push eax
call ebp
push 5
push 0x3f0
push esi
call edi
push eax
call ebp
cmp word [ebx], 0xf
jne 0x466bd3
push 5
push 0x5e1
push esi
call edi
push eax
call ebp
push 5
jmp 0x466be2
push 0
push 0x5e1
push esi
call edi
push eax
call ebp
push 0
push 0x5e0
push esi
call edi
push eax
call ebp
test ebx, ebx
je 0x466c17
cmp byte [ebx + 0x12], 1
je 0x466c17
mov ax, word [ebx]
cmp ax, 0xe
je 0x466c17
cmp ax, 0xa
je 0x466c17
push 5
push 0x5e3
push esi
call edi
push eax
call ebp
push 5
jmp 0x466c26
push 0
push 0x5e3
push esi
call edi
push eax
call ebp
push 0
push 0x5e2
push esi
call edi
push eax
call ebp
test ebx, ebx
je 0x466c46
cmp word [ebx], 0x10
jne 0x466c46
mov ecx, dword [0x4d082c]
push 2
push ecx
jmp 0x466c4f
mov edx, dword [0x4d082c]
push 0xffffffffffffffff
push edx
call fcn.00466ca0
add esp, 8
test ebx, ebx
je 0x466c98
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x466c98
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x147
push 0x3f1
push esi
call edi
cmp eax, 0xffffffff
je 0x466c98
push 0
push eax
push 0x150
push 0x3f1
push esi
call edi
push eax
call fcn.00470ba0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x466ca0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x146
push esi
mov dword [esp + 0x1c], 0xb
mov dword [esp + 0x20], 0x12
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0xd
mov dword [esp + 0x2c], 0xe
call edi
cmp eax, 1
jne 0x466cf6
mov eax, dword [esp + 0x34]
test eax, eax
jge 0x466e1f
jmp 0x466d06
cmp eax, 4
jne 0x466d06
cmp dword [esp + 0x34], 0xffffffff
je 0x466e1f
push ebx
push ebp
push 0x2c4
push str.C:war2bneBattle.netgluBNCreate.cpp
push fcn.00462d30
push str.rezchatroom.tbl
call fcn.00409930
add esp, 0x10
mov dword [esp + 0x10], eax
push 0
push 0
push 0xb
push esi
call edi
push 0
push 0
push 0x14b
push esi
call edi
lea eax, [esp + 0x14]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x466d56
cmp eax, ebx
jne 0x466d81
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dx, word [ecx]
push edx
push eax
call fcn.00409950
add esp, 8
push eax
push 0
push 0x143
push esi
call edi
push ebx
push ebp
push 0x151
push esi
call edi
inc ebp
mov ecx, dword [esp + 0x38]
inc ebx
add ecx, 4
cmp ebx, 5
mov dword [esp + 0x38], ecx
jb 0x466d49
push 0
push 0
push 0x14e
push esi
call edi
mov edx, dword [str.Resources]
lea ecx, [esp + 0x14]
push 0x20
push ecx
push 0
push edx
push 0x49dc0c
call sub.Storm.dll_Ordinal_422
mov al, byte [esp + 0x14]
pop ebp
test al, al
pop ebx
je 0x466dd1
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push 0x14d
push esi
call edi
push esi
push 0x105dd
push 0x111
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push 0
push 1
push 0xb
push esi
call edi
jmp 0x466dfb
mov edx, dword [esp + 8]
mov ecx, dword [ebp*4 + 0x4a5f04]
push 0x2da
push str.C:war2bneBattle.netgluBNCreate.cpp
push edx
mov dword [0x4d0ac8], ecx
call fcn.00462f80
add esp, 0xc
pop edi
pop esi
add esp, 0x24
ret

Function at 0x467900
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push esi
call edi
cmp eax, 0xffffffff
je 0x467942
lea eax, [esp + 8]
push eax
push 0x20
push 0xd
push esi
call edi
mov edx, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push 0x49dc0c
call sub.Storm.dll_Ordinal_425
pop edi
pop esi
add esp, 0x20
ret