joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fbf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x40fc11
xor eax, eax
jmp 0x40fdc4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x40fc2f
xor eax, eax
jmp 0x40fdc4
push 4
push 0x2000
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x34]
push eax
call fcn.0040ff30
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40fc70
push 4
push 0x2000
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x50]
push edx
push 0
call fcn.0040ff30
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40fc7d
xor eax, eax
jmp 0x40fdc4
push 0x14
call fcn.0041d4b0
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 0
push 4
push 0x1000
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040ff30
add esp, 0x10
push 4
push 0x1000
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040ff30
add esp, 0x10
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0041d390
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040f630
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0x1c], edx
je 0x40fd50
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040f870
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040f950
add esp, 4
test eax, eax
jne 0x40fd64
jmp 0x40fdb6
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040f730
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
cmp dword [edx + 0x28], 0
je 0x40fdb1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x14], edx
jne 0x40fd8f
jmp 0x40fdb6
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40fda7
jmp 0x40fdb6
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 1
mov eax, dword [ebp - 0x18]
jmp 0x40fdc4
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040fb10
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40ffd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x38], 0x2e0c
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
call fcn.0041d4b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40fffc
xor eax, eax
jmp 0x4100f5
push 0x2e0c
push 0x438390
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041d390
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
sub edx, 4
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0041d390
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov byte [ebp + eax - 0x2c], 0
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0040e2b0
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041d360
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.0040fbf0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x410099
xor eax, eax
jmp 0x4100f5
mov byte [ebp - 0x44], 0x4c
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x73
mov byte [ebp - 0x40], 0x44
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x6e
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040fdd0
add esp, 8
mov dword [ebp - 0x30], eax
call dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040fb10
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.0041d490
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x411d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0xc
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x411e3a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x21c], eax
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041d360
add esp, 0xc
mov edx, dword [ebp - 0x21c]
movzx eax, word [edx + 0x2c]
shr eax, 1
cmp eax, 0x103
jbe 0x411dcd
mov dword [ebp - 0x220], 0x103
jmp 0x411ddf
mov ecx, dword [ebp - 0x21c]
movzx edx, word [ecx + 0x2c]
shr edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00422bb0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00422c00
add esp, 4
push eax
call fcn.00424250
add esp, 0xc
cmp eax, 0x4b1ffe8e
jne 0x411e2d
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x18]
jmp 0x411e3c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x411d83
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x411e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0xc
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x411f28
mov eax, dword [ebp - 4]
mov dword [ebp - 0x21c], eax
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0041d360
add esp, 0xc
mov edx, dword [ebp - 0x21c]
movzx eax, word [edx + 0x2c]
shr eax, 1
cmp eax, 0x103
jbe 0x411ebd
mov dword [ebp - 0x220], 0x103
jmp 0x411ecf
mov ecx, dword [ebp - 0x21c]
movzx edx, word [ecx + 0x2c]
shr edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 0x30]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00422bb0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00422c00
add esp, 4
push eax
call fcn.00424250
add esp, 0xc
cmp eax, dword [ebp + 8]
jne 0x411f1b
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 0x18]
jmp 0x411f2a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x411e73
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4153d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.00414ea0
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x36]
test edx, edx
jne 0x4153f2
jmp 0x4154c2
push 0x42ece8
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00420510
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x20000013
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00415cf0
add esp, 0x14
mov edx, dword [ebp - 0x10]
push edx
push 0x42ed04
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00420510
add esp, 0x10
cmp dword [ebp - 0x10], 0xc8
je 0x415459
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x36], 0
jmp 0x4154c2
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.004147d0
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004063c0
add esp, 4
mov byte [ebp - 9], al
movzx edx, byte [ebp - 9]
test edx, edx
je 0x415498
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.00414960
add esp, 8
jmp 0x4154b6
mov eax, dword [ebp + 8]
mov byte [eax + 0x36], 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42ed14
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00420510
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00423150
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41c210
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x420520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov byte [0x441124], 0
mov dword [0x441120], 0
mov dword [ebp - 4], 0xe0c
mov eax, dword [ebp - 4]
add eax, 1
push eax
call fcn.0041d4b0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42055b
jmp 0x420659
push 0xe0c
push 0x43b658
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041d390
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
sub edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0041d390
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov byte [ebp + eax - 0x24], 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.0040e2b0
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041d360
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040fbf0
add esp, 4
mov dword [0x44111c], eax
cmp dword [0x44111c], 0
je 0x420659
mov byte [ebp - 0x3c], 0x43
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x70
mov byte [ebp - 0x39], 0x74
mov byte [ebp - 0x38], 0x75
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x63
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x44111c]
push ecx
call fcn.0040fdd0
add esp, 8
mov dword [0x441120], eax
cmp dword [0x441120], 0
je 0x420659
mov byte [0x441124], 1
mov esp, ebp
pop ebp
ret
Function at 0x424250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x424264
or eax, 0xffffffff
jmp 0x4242f3
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x42428c
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x4242f0
cmp dword [ebp + 0xc], 0
je 0x4242a4
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4242f0
mov eax, dword [ebp - 4]
mov cx, word [eax]
mov word [ebp - 0x10], cx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4242d3
movzx eax, word [ebp - 0x10]
cmp eax, 0x41
jl 0x4242d3
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x5a
jg 0x4242d3
movzx edx, word [ebp - 0x10]
add edx, 0x20
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 8]
shl eax, 7
mov ecx, dword [ebp - 8]
shr ecx, 0x19
or eax, ecx
mov dword [ebp - 8], eax
movzx edx, word [ebp - 0x10]
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
jmp 0x42427a
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x427050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4411e8], 0
jne 0x4270ce
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 0xf], 0x68
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x5f
mov byte [ebp - 0xa], 0x54
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], 0x57
mov byte [ebp - 5], 0x6e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0
push 0x4411e8
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.00428a20
add esp, 8
push eax
call fcn.004195c0
add esp, 8
cmp dword [0x4411e8], 0
jne 0x4270ce
push 0x490a0972
call fcn.00426c60
add esp, 4
mov dword [0x4411e8], eax
mov eax, dword [0x4411e8]
mov esp, ebp
pop ebp
ret
Function at 0x402a58
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40657f
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
mov eax, dword [esp + 0x20]
lea ecx, [esp + 4]
push eax
push 0x40802c
push ecx
push 8
push 1
push 0x34
push esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CWnd::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.00404f4a
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8

Function at 0x404070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_AfxGetModuleState
mov ebx, dword [eax + 0xc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4040b1
push 5
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
mov ecx, dword [esi + 0x44]
mov ebx, eax
push 5
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4040c0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4040d1
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, esi
call sub.MFC42.DLL_CDialog::PreModal
mov edi, eax
call sub.MFC42.DLL_AfxUnhookWindowCreate
push edi
call sub.MFC42.DLL_CWnd::FromHandle
xor ebp, ebp
test edi, edi
je 0x404103
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x404103
push ebp
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebp, 1
push esi
call sub.MFC42.DLL_AfxHookWindowCreate
call sub.MFC42.DLL_AfxGetModuleState
cmp dword [eax + 0x1040], 0x410
sbb edx, edx
not edx
and edx, ebx
push edx
push edi
call sub.MFC42.DLL_CWnd::FromHandle
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateDlgIndirect
test eax, eax
je 0x40413d
mov ecx, esi
call fcn.00404390
test ebp, ebp
je 0x40414a
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x404160
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x404160
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
mov ecx, esi
call sub.MFC42.DLL_CDialog::PostModal
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x404a60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareOracle
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404ad0
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.NLS_LANG
push eax
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404ab4
mov dword [esp + 4], esi
cmp dword [esp + 4], 1
jne 0x404ac3
mov dword [esp + 4], 0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ad8
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
test eax, eax
je 0x404b03
call fcn.00403710
test eax, eax
je 0x404b03
lea edx, [esp + 0xc]
push edx
call sub.ZRC60.dll_szrclon_NLSLANGtoLocaleA
mov esi, eax
add esp, 4
test esi, esi
je 0x404b03
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov eax, esi
pop esi
add esp, 0x108
ret
Function at 0x404c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4075b0
push 0x404e42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4087f4], 0xffffffff
mov dword [0x4087f8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4087e0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4087dc]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x4087f0], ecx
call fcn.00404e20
mov eax, dword [0x408278]
test eax, eax
jne 0x404c91
push 0x404e10
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00404de0
push 0x408014
push 0x408010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4087d8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x4087d4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40800c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x404d9f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x404d05
cmp al, 0x22
jne 0x404cf7
cmp byte [esi], 0x22
jne 0x404d0e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x404d1e
cmp al, 0x20
ja 0x404d1e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x404d0e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x404d3f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x404d44
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x404d84
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x404d0e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x404d9f
Function at 0x416720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x416742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416738
mov eax, 1
add ebx, ebx
jne 0x41675b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416750
jne 0x41676c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416750
xor ecx, ecx
sub eax, 3
jb 0x416780
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4167f2
mov ebp, eax
add ebx, ebx
jne 0x41678b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4167bc
inc ecx
add ebx, ebx
jne 0x4167a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41679d
jne 0x4167b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41679d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4167dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4167cd
jmp 0x41673e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4167dc
add edi, ecx
jmp 0x41673e
pop esi
mov edi, esi
mov ecx, 0x897
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4167fa
cmp byte [edi], 7
jne 0x4167fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4167ff
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41686e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x165c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1669c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41682c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x166a0]
or eax, eax
je 0x416868
mov dword [ebx], eax
add ebx, 4
jmp 0x416849
call dword [esi + 0x166a4]
popal
jmp 0x40d9a4