joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417870
Capabilities:
Set current directory

Disassembly:
sub esp, 0x38
mov eax, dword [0x452504]
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x55fa]
push ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.00413860
push 0
push 5
lea edi, [esi + 0x8163]
push edi
push str.HgSoundOut.exe
push ebx
call fcn.0041a9a0
push edi
lea eax, [esp + 0x24]
push str._s.exe
push eax
call fcn.004352bf
mov al, byte [esi + 0xbcf6]
add esp, 0x20
test al, al
je 0x4178d0
lea eax, [esi + 0x6160]
jmp 0x417920
lea ecx, [esi + 0x7162]
push str.hangame:__
push ecx
call fcn.00435188
add esp, 8
test eax, eax
jne 0x41790d
push eax
push 0xae
push 0xa0001
call fcn.0041a7d0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
call fcn.00435083
add esp, 0x38
ret
mov ecx, str.hangame:__
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x417915
sub ecx, edi
add eax, ecx
push 0
push 5
push eax
lea edx, [esp + 0x18]
push edx
push ebx
call fcn.0041a9a0
add esp, 0x14
test eax, eax
jne 0x417980
call fcn.00415f40
push 0xf8
mov esi, eax
call fcn.00415f40
add eax, 0xbcf7
push eax
add esi, 0x8163
push esi
call fcn.0041c2d0
push 0
push 0xdb
push 0x180007
call fcn.0041a7d0
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
call fcn.00435083
add esp, 0x38
ret
mov ecx, esi
call fcn.004170b0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.00435083
add esp, 0x38
ret
Function at 0x41ac10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x452504]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov dword [esp + 0xac], eax
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x9c
call esi
test eax, eax
jne 0x41ac63
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x94
call esi
test eax, eax
je 0x41ac83
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x41ac83
cmp dword [esp + 0xc], 6
jb 0x41ac83
mov cl, byte [esp + 0xa2]
mov eax, 1
cmp cl, al
je 0x41ac85
xor eax, eax
mov ecx, dword [esp + 0xac]
call fcn.00435083
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b470
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x280
call fcn.004374ac
mov esi, eax
add esp, 4
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x280
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41b4ae
push esi
call fcn.00437394
mov ecx, dword [esp + 8]
push ecx
call fcn.004374ac
add esp, 8
mov esi, eax
lea edx, [esp + 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x41b516
test esi, esi
mov eax, esi
je 0x41b4d3
lea ecx, [eax + 0x194]
test ecx, ecx
jne 0x41b4e1
mov eax, dword [eax]
test eax, eax
jne 0x41b4c3
push esi
call fcn.00437394
add esp, 4
mov al, 1
pop esi
pop ecx
ret
movzx eax, byte [ecx + 5]
movzx edx, byte [ecx + 4]
push eax
movzx eax, byte [ecx + 3]
push edx
movzx edx, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str._02X_02X_02X_02X_02X_02X
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov al, 1
pop esi
pop ecx
ret
push esi
call fcn.00437394
mov eax, dword [esp + 0x10]
push str.000000000000
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor al, al
pop esi
pop ecx
ret
Function at 0x41d560
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3ec
mov eax, dword [0x452504]
mov dword [esp + 0x3e8], eax
movzx eax, byte [ebp + 0x14]
push ebx
add eax, 0xffffff9f
cmp eax, 3
push esi
push edi
ja case.default.0x41d587
jmp dword [eax*4 + 0x41d708]
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
mov byte [0x4512a0], bl
push 0x4512a0
jmp 0x41d5cb
mov ebx, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
push ecx
mov byte [0x4512a8], bl
push 0x4512a8
jmp 0x41d5cb
mov ebx, dword [ebp + 0x10]
lea edx, [esp + 0x10]
push edx
mov byte [0x4512b0], bl
push 0x4512b0
call fcn.0041cf30
add esp, 8
test eax, eax
je 0x41d60b
xor eax, eax
mov ecx, dword [esp + 0x3f4]
call fcn.00435083
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push 0x4512b8
mov byte [0x4512b8], bl
call fcn.0041cf30
add esp, 8
test eax, eax
jne case.default.0x41d587
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, 0x4b
lea edi, [esp + 0x1c0]
rep stosd dword es:[edi], eax
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d623
push 1
push 0x4512c0
sub eax, esi
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
push edi
lea eax, [esp + 0x1d0]
push eax
push edx
call fcn.0041cb10
add esp, 0x18
push 0xff
lea ecx, [esp + 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x2f0]
push edx
lea eax, [esp + 0x94]
push str._shancmd.enc
push eax
call fcn.004352bf
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41d6be
push 0
lea edx, [esp + 0x10]
push edx
push 0x12c
lea eax, [esp + 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
movzx edx, ax
movzx eax, byte [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
push str._.3d_c_c_d
push eax
call fcn.004352bf
mov ecx, dword [esp + 0x40c]
add esp, 0x18
mov eax, 1
call fcn.00435083
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423ea0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x444469
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0041e7d0
mov dword [esp + 0x10], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 8], eax
mov dword [esp + 0x14], 0
xor esi, esi
xor edi, edi
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x38], 2
call fcn.00421e70
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
add esp, 8
cmp eax, ecx
mov dword [esp + 0x3c], eax
je 0x423f89
lea esp, [esp]
lea edx, [eax + 0xc]
mov eax, dword [edx]
mov cl, byte [eax + 8]
test cl, cl
je 0x423f76
test edi, edi
je 0x423f61
mov ecx, dword [esp + 0x24]
mov eax, esi
sub eax, edi
sub ecx, edi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x423f61
mov ecx, dword [edx]
mov dword [esi], ecx
add esi, 4
mov dword [esp + 0x20], esi
jmp 0x423f76
push edx
push 1
push esi
lea ecx, [esp + 0x24]
call fcn.00421500
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.0041dfa0
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x10]
jne 0x423f30
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00422350
test edi, edi
mov dword [esp + 8], 1
je 0x423fae
push edi
call fcn.00435091
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.00421990
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00435091
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x424880
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4445a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [esp + 4], 0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x14], 1
call fcn.00422f60
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 1
mov byte [esp + 0x1c], 0
call fcn.00420e80
mov eax, dword [esp + 0x20]
push eax
call fcn.00435091
mov ecx, dword [esp + 0xc]
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x425000
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4442c8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x58]
cmp eax, 4
push esi
push edi
je 0x4250d5
cmp eax, 0x400
je 0x42509d
cmp eax, 0x800
je 0x42507c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x28], esp
push str._____or_ident_expected
call fcn.00402e80
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.004209e0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0
call fcn.0041f630
push 0x44e1a0
lea edx, [esp + 0x14]
push edx
call fcn.00435b36
lea esi, [ebx + 0x10]
mov ecx, esi
call fcn.00422b00
mov ecx, ebx
call fcn.004260b0
push 0x1000
mov ecx, esi
mov edi, eax
call fcn.00420b40
jmp 0x4250e9
lea esi, [ebx + 0x1c]
mov ecx, 8
lea edi, [esp + 0x30]
lea eax, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.00423c20
lea ecx, [ebx + 0x10]
mov esi, eax
call fcn.00422b00
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
lea esi, [ebx + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00424a50
mov edi, eax
mov ecx, esi
call fcn.00422b00
mov ecx, dword [esp + 0x70]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret
Function at 0x4266e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x444781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 2
call fcn.00422f60
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 3
call fcn.00426140
mov eax, 1
mov dword [esp + 8], eax
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.00420e80
mov eax, dword [esp + 0x28]
push eax
call fcn.00435091
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x18], bl
call fcn.00425e90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428a50
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x444a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [0x452504]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x17c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
mov ecx, 0x49
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
je 0x428c2d
lea eax, [esp + 0x4c]
push eax
push esi
mov dword [esp + 0x54], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x428c2d
lea ecx, [esp + 0x4c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x428c1b
push ebp
mov ebp, 0xf
mov edi, 0x10
lea ecx, [ecx]
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x428af3
sub eax, edx
push eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x3c]
call fcn.00402c70
push 1
push 0xffffffffffffffff
push 0x447c0c
lea ecx, [esp + 0x40]
mov dword [esp + 0x190], ebx
call fcn.004280e0
cmp eax, 0xffffffff
je 0x428b88
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
push 0x447c0c
lea ecx, [esp + 0x44]
call fcn.004280e0
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00405940
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x190], 1
call fcn.00402b80
cmp dword [esp + 0x30], edi
mov byte [esp + 0x184], bl
jb 0x428b7c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00435091
add esp, 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov edx, dword [esp + 0x4c]
cmp edx, edi
mov ecx, dword [esp + 0x38]
mov esi, ecx
jae 0x428c26
lea esi, [esp + 0x38]
mov eax, esi
mov ebp, dword [esp + 0x48]
add eax, ebp
cmp edx, edi
jae 0x428bae
lea ecx, [esp + 0x38]
push 0x4381e6
push esi
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00428180
mov ecx, dword [esp + 0x1a0]
add esp, 0x14
lea eax, [esp + 0x34]
push eax
call fcn.00424330
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x184], 0xffffffff
jb 0x428bf2
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00435091
add esp, 4
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
mov ebp, 0xf
push esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x428ae0
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x428c2f
mov eax, ecx
jmp 0x428ba0
xor al, al
mov ecx, dword [esp + 0x178]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x16c]
pop ebx
call fcn.00435083
add esp, 0x178
ret
Function at 0x42ad40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x444d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], edi
call fcn.00429260
mov esi, dword [esp + 0x20]
lea ecx, [esi + 0x5c]
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
cmp esi, edi
je 0x42aea7
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x4bda12f7
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x42ae7d
xor bl, bl
xor ebp, ebp
nop
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 4]
test esi, esi
je 0x42ae0e
mov eax, edx
mov ecx, dword [eax + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x42ae0e
cmp dword [esi + ebp + 0x18], 0x10
jb 0x42adf6
mov esi, dword [esi + ebp + 4]
jmp 0x42adfa
lea esi, [esi + ebp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ae12
inc edi
mov bl, 1
add ebp, 0x1c
jmp 0x42adc0
test bl, bl
jne 0x42ae31
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
inc ecx
add eax, 0x6c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor edi, edi
jmp 0x42ad90
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
imul eax, eax, 0x6c
mov ebx, dword [esp + 0x20]
mov cl, byte [eax + edi]
mov edx, dword [esp + 0x38]
add eax, edi
cmp edi, ebx
mov byte [edx], cl
mov esi, edi
je 0x42ae5f
mov ecx, esi
call fcn.00428800
add esi, 0x6c
cmp esi, ebx
jne 0x42ae51
push edi
call fcn.00435091
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
cmp esi, edi
je 0x42aea7
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp ebx, edi
je 0x42ae9e
lea ecx, [ecx]
mov ecx, esi
call fcn.00428800
add esi, 0x6c
cmp esi, edi
jne 0x42ae90
push ebx
call fcn.00435091
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x42b4d0
Capabilities:
Check http status code
Create http request

Disassembly:
mov eax, 0x1018
call fcn.00435d80
mov eax, dword [0x452504]
push esi
push edi
mov dword [esp + 0x101c], eax
call fcn.00415fa0
add eax, 0x8377
push str.http:__alpha_hgdown.hangame.com
push eax
call fcn.00436190
add esp, 8
test eax, eax
je 0x42b519
mov ecx, 5
mov esi, str.alpha_kiwi.hangame.com
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x42b549
mov eax, dword [str.kiwi.hangame.com]
mov ecx, dword [0x447c1c]
mov edx, dword [0x447c20]
mov dword [esp + 0x14], eax
mov eax, dword [0x447c24]
mov dword [esp + 0x18], ecx
mov cl, byte [0x447c28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], cl
mov eax, dword [0x454208]
test eax, eax
jne 0x42b58a
call fcn.00415fa0
mov esi, eax
call fcn.00415fa0
mov edx, dword [esp + 0x1024]
movsx ecx, byte [edx]
push ecx
add esi, 0x8163
push esi
add eax, 0xbcf7
push eax
lea edx, [esp + 0x20]
push edx
push str.http:___s_pcbinfo.nhn_memberid_sgameid_smngprog_c
lea eax, [esp + 0x82c]
push eax
jmp 0x42b5b1
mov ecx, dword [esp + 0x1024]
movsx edx, byte [ecx]
push edx
push 0x4536c6
push 0x4536d1
lea eax, [esp + 0x20]
push eax
push str.http:___s_pcbinfo.nhn_memberid_sgameid_smngprog_c
lea ecx, [esp + 0x82c]
push ecx
call fcn.004352bf
add esp, 0x18
push 0
push 0
push 0
push 0
push str.PcBangReport
mov dword [esp + 0x1c], 0x1f4
mov dword [esp + 0x24], 4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x42b688
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea edx, [esp + 0xc]
push edx
push 5
push esi
call edi
push 4
lea eax, [esp + 0xc]
push eax
push 2
push esi
call edi
push 4
lea ecx, [esp + 0xc]
push ecx
push 6
push esi
call edi
push 4
lea edx, [esp + 0xc]
push edx
push 0x3f
push esi
call edi
push 0
push 0x84000000
push 0
push 0
lea eax, [esp + 0x828]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x42b65a
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1014]
call fcn.00435083
add esp, 0x1018
ret
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [esp + 0xc], 0xc8
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x42b69f
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1014]
call fcn.00435083
add esp, 0x1018
ret
call edi
push esi
call edi
mov ecx, dword [esp + 0x101c]
pop edi
mov al, 1
pop esi
call fcn.00435083
add esp, 0x1018
ret

Function at 0x42b6e0
Capabilities:
Create thread

Disassembly:
sub esp, 8
lea eax, [esp + 3]
push eax
mov byte [esp + 7], 0x58
call fcn.0042b480
mov al, byte [esp + 7]
add esp, 4
cmp al, 0x58
jne 0x42b703
xor al, al
add esp, 8
ret
lea ecx, [esp + 4]
push ecx
push 0
movsx edx, al
push edx
push 0x42b6c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add esp, 8
ret
Function at 0x42b730
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0
push str.StartPage
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x42b808
push 0x400
call fcn.0043565d
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
push str._startpage_index.html_hcode_s
push edi
call fcn.004352bf
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.start.tiara.daum.net
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
je 0x42b808
push 0
push SysReAllocString
push 0
push 0
push str.HTTP_1.1
push edi
push 0x44790c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x42b808
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x42b808
push ebx
push 0x400
call fcn.0043565d
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0x3ff
mov ebx, eax
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call fcn.00435091
push edi
call fcn.00435091
add esp, 8
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x42b810
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [0x46827c]
test eax, eax
jne 0x42b81c
pop ecx
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
push ebx
push eax
call edi
mov eax, dword [esp + 4]
test eax, eax
je 0x42b865
push esi
push eax
call fcn.0043565d
add esp, 4
lea edx, [esp + 8]
push edx
mov esi, eax
mov eax, dword [0x46827c]
push esi
push 0
push 0
push ebx
push eax
call edi
neg eax
sbb eax, eax
not eax
and eax, esi
pop esi
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x42b8b0
Capabilities:
Set registry value

Disassembly:
push ecx
push edi
lea eax, [esp + 4]
push eax
push 0x46827c
xor edi, edi
push edi
push 0xf003f
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42b8e1
or eax, 0xffffffff
pop edi
pop ecx
ret
push ebx
push esi
mov ebx, str.Start_Page
call fcn.0042b810
mov esi, eax
test esi, esi
je 0x42b91c
call fcn.0042b870
push str.www.daum.net
push esi
call fcn.00435188
add esp, 8
test eax, eax
je 0x42b90f
mov edi, 1
push esi
call fcn.00435091
add esp, 4
test edi, edi
jne 0x42b959
mov eax, str.http:__www.daum.net_
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b924
mov ecx, dword [0x46827c]
sub eax, edx
test ecx, ecx
je 0x42b951
push eax
push str.http:__www.daum.net_
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42b959
pop esi
pop ebx
or eax, 0xffffffff
pop edi
pop ecx
ret
mov eax, dword [0x46827c]
test eax, eax
je 0x42b969
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, edi
pop edi
pop ecx
ret