joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100204d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10020422
add ebx, 0
push ecx
call 0x10020437
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c6f923a
sub ebx, dword [0x6c718a79]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c718a69
call fcn.1001bf01
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b40f
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10020595
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10020595
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1002054c
mov eax, 1
lock xchg dword [0x6c718a75], eax
push 0x3dd1fc71
call 0x100204d9
push esi
add esp, 8
cmp eax, 0
jne 0x100204c2
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100204e8
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100204fd
cmp ecx, edx
cmp eax, 0
je 0x10020522
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1002050c
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002053b
dec eax
loope 0x1002053e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c718a75], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10020572
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10020587
jmp 0x10020592
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10020480
Function at 0x100275fa
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100278d0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c7056ed
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c6fc6b3
push 0xffffffffffffffff
call fcn.1001e7fa
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x10027664
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1002767c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100278c4
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10027898
Function at 0x100370ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100370ec
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100370ec
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100370ec
ret
cmp word [ebx + 4], 0x14c
jne 0x100370ec
test word [ebx + 0x16], 2
je 0x100370ec
test word [ebx + 0x16], 0x100
je 0x100370ec
cmp word [ebx + 0x18], 0x10b
jne 0x100370ec
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100370ec
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10037178
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003710c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001e057
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100370ec
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10037178
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100370ec
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100370ec
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100370ec
ret
cmp word [ebx + 4], 0x14c
jne 0x100370ec
test word [ebx + 0x16], 2
je 0x100370ec
test word [ebx + 0x16], 0x100
je 0x100370ec
cmp word [ebx + 0x18], 0x10b
jne 0x100370ec
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100370ec
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10037178
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1003710c
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001e057
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100370ec
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1003722f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10037288
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003722f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003723e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043cee1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003728f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001e105
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003732e
add edi, 4
add eax, 2
dec ecx
jne 0x10037274
call 0x100372db
loope 0x100372d1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003732b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003733c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100372ef
cmp eax, ecx
ja 0x100372ef
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10037379
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003736f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e5e4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1003723e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10037288
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1003722f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1003723e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1043cee1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1003728f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1001e105
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003732e
add edi, 4
add eax, 2
dec ecx
jne 0x10037274
call 0x100372db
loope 0x100372d1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003732b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1003733c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100372ef
cmp eax, ecx
ja 0x100372ef
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10037379
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1003736f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e5e4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401e8e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x52d13e
call fcn.0050bac0
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x10], ebx
call fcn.004028a6
xor esi, esi
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], esi
call fcn.004028a6
mov dword [ebx + 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea edi, [ebx + 0xc]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
and byte [ebx + 9], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
push edi
mov byte [ebp - 4], 1
mov byte [ebx + 8], 1
mov dword [ebx + 0x20], eax
mov byte [ebx + 0xa], 1
mov dword [ebx], esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, edi
push eax
push edi
lea ecx, [ebx + 0x24]
call fcn.0040253b
call fcn.004b8c62
push esi
push edi
mov ecx, eax
call fcn.004b8d5d
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
add eax, esi
push eax
push esi
lea ecx, [ebx + 0x30]
call fcn.0040253b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x40dc05
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x52ef6c
call fcn.0050bac0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x2f68]
mov dword [ebp - 4], 0x26
call fcn.0049438c
lea ecx, [esi + 0x2e08]
mov byte [ebp - 4], 0x25
call fcn.0049438c
lea ecx, [esi + 0x2ca8]
mov byte [ebp - 4], 0x24
call fcn.0049438c
lea ecx, [esi + 0x2b48]
mov byte [ebp - 4], 0x23
call fcn.0049438c
lea ecx, [esi + 0x29e8]
mov byte [ebp - 4], 0x22
call fcn.0049438c
lea ecx, [esi + 0x2888]
mov byte [ebp - 4], 0x21
call fcn.0049438c
lea ecx, [esi + 0x2728]
mov byte [ebp - 4], 0x20
call fcn.0049438c
lea ecx, [esi + 0x25c8]
mov byte [ebp - 4], 0x1f
call fcn.0049438c
lea ecx, [esi + 0x2468]
mov byte [ebp - 4], 0x1e
call fcn.0049438c
lea ecx, [esi + 0x2308]
mov byte [ebp - 4], 0x1d
call fcn.0049438c
lea ecx, [esi + 0x21a8]
mov byte [ebp - 4], 0x1c
call fcn.0049438c
lea ecx, [esi + 0x2048]
mov byte [ebp - 4], 0x1b
call fcn.0049438c
lea ecx, [esi + 0x1ee8]
mov byte [ebp - 4], 0x1a
call fcn.0049438c
lea ecx, [esi + 0x1d88]
mov byte [ebp - 4], 0x19
call fcn.0049438c
lea ecx, [esi + 0x1c28]
mov byte [ebp - 4], 0x18
call fcn.0049438c
lea ecx, [esi + 0x1ac8]
mov byte [ebp - 4], 0x17
call fcn.0049438c
lea ecx, [esi + 0x1968]
mov byte [ebp - 4], 0x16
call fcn.0049438c
lea ecx, [esi + 0x1808]
mov byte [ebp - 4], 0x15
call fcn.0049438c
lea ecx, [esi + 0x16e4]
mov byte [ebp - 4], 0x14
call fcn.00475111
lea ecx, [esi + 0x15c0]
mov byte [ebp - 4], 0x13
call fcn.00475111
lea ecx, [esi + 0x149c]
mov byte [ebp - 4], 0x12
call fcn.00475111
lea ecx, [esi + 0x1378]
mov byte [ebp - 4], 0x11
call fcn.00475111
lea ecx, [esi + 0x1254]
mov byte [ebp - 4], 0x10
call fcn.00475111
lea ecx, [esi + 0x1130]
mov byte [ebp - 4], 0xf
call fcn.00475111
lea ecx, [esi + 0x100c]
mov byte [ebp - 4], 0xe
call fcn.00475111
lea ecx, [esi + 0xee8]
mov byte [ebp - 4], 0xd
call fcn.00475111
lea ecx, [esi + 0xdc4]
mov byte [ebp - 4], 0xc
call fcn.00475111
lea ecx, [esi + 0xc64]
mov byte [ebp - 4], 0xb
call fcn.0049438c
lea ecx, [esi + 0xb40]
mov byte [ebp - 4], 0xa
call fcn.00477e0f
lea ecx, [esi + 0xa1c]
mov byte [ebp - 4], 9
call fcn.00477e0f
lea ecx, [esi + 0x8f8]
mov byte [ebp - 4], 8
call fcn.00477e0f
lea ecx, [esi + 0x7d4]
mov byte [ebp - 4], 7
call fcn.00477e0f
lea ecx, [esi + 0x6b0]
mov byte [ebp - 4], 6
call fcn.00477e0f
lea ecx, [esi + 0x58c]
mov byte [ebp - 4], 5
call fcn.00477e0f
lea ecx, [esi + 0x468]
mov byte [ebp - 4], 4
call fcn.00477e0f
lea ecx, [esi + 0x344]
mov byte [ebp - 4], 3
call fcn.00477e0f
lea ecx, [esi + 0x220]
mov byte [ebp - 4], 2
call fcn.00477e0f
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 1
call fcn.00470d9a
and byte [ebp - 4], 0
lea ecx, [esi + 0x80]
call fcn.00470d9a
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0050b81e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42c6ee
Capabilities:
Get common file path

Disassembly:
mov eax, 0x532519
call fcn.0050bac0
sub esp, 0x134
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
mov esi, ecx
push eax
call sub.MFC42.DLL_AfxVariantInit
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
je 0x42c82c
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c734
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x60]
cmp ecx, ebx
je 0x42c734
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x40], edi
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x42c75a
mov ecx, edi
call fcn.0050b770
mov dword [edi], 0x549968
mov eax, edi
jmp 0x42c75c
xor eax, eax
mov dword [esi + 0x60], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
push 0xa
sub ecx, dword [ebp - 0x2c]
pop eax
push ebx
push ebx
sub ecx, 0xf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ebx
push 0x64
push esi
sub ecx, eax
lea eax, [ebp - 0x3c]
push eax
push 0x50000000
mov dword [ebp - 0x30], ecx
mov ecx, dword [esi + 0x60]
push ebx
push 0x549958
mov dword [ebp - 0x38], 0x50
call sub.MFC42.DLL_CWnd::CreateControl
test eax, eax
je 0x42c82c
mov al, byte [0x58ea40]
push 0x3f
mov byte [ebp - 0x140], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x140]
push str.Help_
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x140]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x60]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004952a3
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4317b3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x532df7
call fcn.0050bac0
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
push 0x131
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0050b770
mov dword [edi], 0x54ad28
lea eax, [esi + 0xb8]
lea ecx, [ebp + 0xb]
push ebx
push ecx
lea ecx, [eax + 8]
mov byte [ebp - 4], 2
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004e104b
lea eax, [esi + 0xc4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esi + 0xd0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x420]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x424]
mov byte [ebp - 4], 7
call fcn.00494e69
push 0x2132b
mov byte [ebp - 4], 8
mov dword [esi], 0x54ac50
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
or dword [esi + 0x200], 0xffffffff
or dword [esi + 0x204], 0xffffffff
mov dword [esi + 0xa4], eax
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0x41c], ebx
mov dword [esi + 0x418], ebx
mov dword [esi + 0x414], ebx
mov dword [esi + 0x410], ebx
mov dword [esi + 0x40c], ebx
mov dword [esi + 0xb4], ebx
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push str.French
mov ecx, eax
call dword [edx + 0x34]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x4318fd
push 0x448
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 9
je 0x4318d9
call fcn.0047631b
jmp 0x4318db
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], 8
mov dword [esi + 0xb4], eax
jne 0x4318fd
push str.D:CQ2ClientCn_15.3.5MyShellDlgLoginFlash.cpp
push 0x57
push 0x57f7b8
call fcn.005079e3
add esp, 0xc
mov edi, 0x81
lea eax, [esi + 0x289]
push edi
push ebx
push eax
mov byte [esi + 0xa0], bl
mov dword [esi + 0x434], ebx
mov byte [esi + 0xb0], 1
mov byte [esi + 0x40a], bl
call sub.MSVCRT.dll_memset
push edi
lea eax, [esi + 0x208]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x21
lea eax, [esi + 0x1dc]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0xdc]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x30
lea edi, [esi + 0x30a]
push edi
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi + 0x309], 0x5c
pop ecx
jne 0x43198c
push edi
call sub.MSVCRT.dll_strlen
pop ecx
mov byte [eax + esi + 0x309], bl
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4332da
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x532fb8
call fcn.0050bac0
sub esp, 0x2a4
mov eax, dword [ecx + 0xc8]
push esi
lea esi, [ecx + 0xc4]
push eax
mov ecx, dword [esi]
push ecx
mov ecx, esi
call fcn.0040584b
lea eax, [ebp - 0x2b0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4333a9
push ebx
push edi
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4333a1
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4333a1
xor edi, edi
mov eax, dword [ebx + 0xc]
add eax, edi
cmp dword [eax], 0
je 0x4333a1
mov eax, dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
push ecx
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004027dc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.0040cc8a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
sub eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x433398
push eax
push dword [ebp - 0x1c]
call fcn.004027b7
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
add edi, 4
jmp 0x433349
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4344c4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
push 0x40
xor bl, bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
mov byte [ebp - 0x21c], bl
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str._s.
lea eax, [ebp - 0x21c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll__findfirst]
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
jne 0x434524
mov al, 1
jmp 0x434583
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x434563
lea eax, [ebp - 0x104]
push 0x57fbf8
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x434563
lea eax, [ebp - 0x104]
push 0x57fbf4
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x434579
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__findnext]
pop ecx
test eax, eax
pop ecx
je 0x434524
mov bl, 1
push esi
call dword [sym.imp.MSVCRT.dll__findclose]
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43dcdd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x53669a
call fcn.0050bac0
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xe9
call sub.MFC42.DLL_CDialog::CDialog
xor edi, edi
lea ecx, [esi + 0x94]
mov dword [ebp - 4], edi
call fcn.0049427a
lea ecx, [esi + 0x1f4]
mov byte [ebp - 4], 1
call fcn.0049427a
lea ecx, [esi + 0x354]
mov byte [ebp - 4], 2
call fcn.0049427a
lea ecx, [esi + 0x4b4]
mov byte [ebp - 4], 3
call fcn.0049427a
lea ecx, [esi + 0x614]
mov byte [ebp - 4], 4
call fcn.0049427a
lea ecx, [esi + 0x774]
mov byte [ebp - 4], 5
call fcn.0049427a
lea ecx, [esi + 0x8d4]
mov byte [ebp - 4], 6
call fcn.0049427a
lea ecx, [esi + 0xa34]
mov byte [ebp - 4], 7
call fcn.0049427a
lea ecx, [esi + 0xb94]
mov byte [ebp - 4], 8
call fcn.0049427a
lea ecx, [esi + 0xcf4]
mov byte [ebp - 4], 9
call fcn.0049427a
lea ecx, [esi + 0xe54]
mov byte [ebp - 4], 0xa
call fcn.0049427a
lea ecx, [esi + 0xfb4]
mov byte [ebp - 4], 0xb
call fcn.0049427a
lea ecx, [esi + 0x1114]
mov byte [ebp - 4], 0xc
call fcn.00477d7c
lea ecx, [esi + 0x1238]
mov byte [ebp - 4], 0xd
call fcn.00477d7c
lea ecx, [esi + 0x135c]
mov byte [ebp - 4], 0xe
call fcn.00477d7c
lea ecx, [esi + 0x1480]
mov byte [ebp - 4], 0xf
call fcn.00477d7c
lea ecx, [esi + 0x15a4]
mov byte [ebp - 4], 0x10
call fcn.00477d7c
lea ecx, [esi + 0x16c8]
mov byte [ebp - 4], 0x11
call fcn.00477d7c
lea ecx, [esi + 0x17ec]
mov byte [ebp - 4], 0x12
call fcn.00470d03
lea ecx, [esi + 0x18bc]
mov byte [ebp - 4], 0x13
call fcn.00470d03
lea ecx, [esi + 0x198c]
mov byte [ebp - 4], 0x14
call fcn.00470d03
lea ecx, [esi + 0x1a5c]
mov byte [ebp - 4], 0x15
call fcn.00470d03
lea ecx, [esi + 0x1b2c]
mov byte [ebp - 4], 0x16
call fcn.00470d03
lea ecx, [esi + 0x1bfc]
mov byte [ebp - 4], 0x17
call fcn.00470d03
lea ecx, [esi + 0x1ccc]
mov byte [ebp - 4], 0x18
call fcn.00470d03
lea ecx, [esi + 0x1d9c]
mov byte [ebp - 4], 0x19
call fcn.00470d03
lea ecx, [esi + 0x1e6c]
mov byte [ebp - 4], 0x1a
call fcn.00470d03
lea ecx, [esi + 0x1f3c]
mov byte [ebp - 4], 0x1b
call fcn.00470d03
lea ecx, [esi + 0x200c]
mov byte [ebp - 4], 0x1c
call fcn.00470d03
lea ecx, [esi + 0x20dc]
mov byte [ebp - 4], 0x1d
call fcn.00470d03
lea ecx, [esi + 0x21ac]
mov byte [ebp - 4], 0x1e
call fcn.00470d03
lea ecx, [esi + 0x227c]
mov byte [ebp - 4], 0x1f
call fcn.00470d03
lea ecx, [esi + 0x234c]
mov byte [ebp - 4], 0x20
call fcn.00470d03
lea ecx, [esi + 0x241c]
mov byte [ebp - 4], 0x21
call fcn.00470d03
lea ecx, [esi + 0x24ec]
mov byte [ebp - 4], 0x22
call fcn.00470d03
lea ecx, [esi + 0x25bc]
mov byte [ebp - 4], 0x23
call fcn.00470d03
push 0x2132b
mov dword [esi], 0x54b848
mov dword [esi + 0x60], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
fldz
mov dword [esi + 0x6c], eax
mov dword [esi + 0x90], edi
fstp dword [esi + 0x8c]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4