joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x466124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x421850
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x42188c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x42188c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x421974
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4218b4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4218e7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0042e081
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x421947
sub eax, 1
je 0x421947
sub eax, 2
jne 0x421974
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0042e081
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x421964
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00431226
add esp, 0x10
cmp edi, eax
jne 0x421974
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x421877
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429a60
mov esp, ebp
pop ebp
ret 4
Function at 0x423b80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x466124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x423c3a
cmp byte [esi + 0x3d], 0
je 0x423c3a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x423c28
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x423bf0
sub eax, 1
je 0x423bf4
sub eax, 2
jne 0x423c28
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x423c11
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00431226
add esp, 0x10
cmp edi, eax
jne 0x423c28
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429a60
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00429a60
mov esp, ebp
pop ebp
ret

Function at 0x4244b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c490
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x466124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00429e55
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004288ee
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438e9e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438d14

Function at 0x44081a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044036d
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0xa76058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a761a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa7607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa7606a
add dl, dl
jne 0xa76089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa760dc
xor eax, eax
add dl, dl
jne 0xa76096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa7617d
add dl, dl
jne 0xa760a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa760b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa760bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa760c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa760d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa76075
mov eax, 1
add dl, dl
jne 0xa760ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa760f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa760e1
sub eax, ebx
mov ebx, 1
jne 0xa76128
mov ecx, 1
add dl, dl
jne 0xa7610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa76119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa76105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa76075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa7613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa7614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa76136
cmp eax, 0x7d00
jae 0xa7616d
cmp eax, 0x500
jb 0xa76168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa76075
cmp eax, 0x7f
ja 0xa76170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa76075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa7619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa76075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x521f70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcd000]
push edi
jmp 0x521f8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x521f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x521f80
mov eax, 1
add ebx, ebx
jne 0x521fa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x521fb4
jne 0x521fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x521fd3
dec eax
add ebx, ebx
jne 0x521fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x521f98
add ebx, ebx
jne 0x521fcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x522025
xor ecx, ecx
sub eax, 3
jb 0x521feb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52205a
sar eax, 1
mov ebp, eax
jmp 0x521ff6
add ebx, ebx
jne 0x521ff6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x521fc4
inc ecx
add ebx, ebx
jne 0x522004
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x521fc4
add ebx, ebx
jne 0x522011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x522006
jne 0x522022
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x522006
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x522044
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x522036
jmp 0x521f86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x522044
add edi, ecx
jmp 0x521f86
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x522062
cmp byte [edi], 0x11
jne 0x522062
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 al, bl
loop 0x522067
lea edi, [esi + 0x11a000]
mov eax, dword [edi]
or eax, eax
je 0x5220df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16b604]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16b780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x522094
mov ecx, edi
jns 0x5220c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16b784]
or eax, eax
je 0x5220d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5220b1
call dword [esi + 0x16b794]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x522110
cmp al, 0xef
ja 0x522103
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5220e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5220f2
mov ebp, dword [esi + 0x16b788]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x522144
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x419610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x419632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419628
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x41964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419640
jne 0x41965c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419640
xor ecx, ecx
sub eax, 3
jb 0x419670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4196e2
push eax
pop ebp
add ebx, ebx
jne 0x41967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4196ac
inc ecx
add ebx, ebx
jne 0x419698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41968d
jne 0x4196a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41968d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4196cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4196bd
jmp 0x41962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4196cc
add edi, ecx
jmp 0x41962e
pop esi
push esi
pop edi
mov ecx, 0x5ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4196ea
cmp byte [edi], 0
jne 0x4196ea
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
push ebx
pop eax
loop 0x4196ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41975e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1924c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41971c
push edi
pop ecx
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19250]
test eax, eax
je 0x419758
mov dword [ebx], eax
add ebx, 4
jmp 0x419739
call dword [esi + 0x19254]
popal
jmp 0x40e274

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d89e6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2840
call fcn.004c2450
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x283c], eax
push esi
push edi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0x2850]
mov dword fs:[0], eax
mov eax, 0x540fcc
call fcn.00401360
lea eax, [esp + 0xc]
push eax
call fcn.004015f0
mov dword [esp + 0x2858], 0
mov ecx, dword [0x4ffde4]
lea edx, [esp + 0xc]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov edx, str.exec__GetArticleData
mov ecx, eax
xor edi, edi
mov dword [esp + 0x283c], 0
mov esi, 0x2800
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x401207
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x4011f4
jmp 0x40120b
test esi, esi
jne 0x401213
sub eax, 1
mov edi, 0x8007007a
test edi, edi
mov byte [eax], 0
je 0x401244
call fcn.0046e510
or eax, 0xffffffff
mov dword [esp + 0x2858], eax
mov dword [esp + 0xc], vtable.ServerFramework::CClassTrigger_class_CArticleManager_.0
mov dword [esp + 0x2858], eax
mov dword [esp + 0xc], vtable.ServerFramework::CTrigger.0
xor eax, eax
jmp 0x4012aa
lea ecx, [esp + 0x1c]
call fcn.0041b250
test eax, eax
jge 0x40127b
push str.article_load_failed___
push 0x2000000
call fcn.0041bf10
add esp, 8
mov dword [esp + 0x2858], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401650
xor eax, eax
jmp 0x4012aa
mov edx, dword [0x540fd8]
push edx
push str.article_loaded_:__d
push 0
call fcn.0041bf10
add esp, 0xc
mov dword [esp + 0x2858], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401650
mov eax, 1
mov ecx, dword [esp + 0x2850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x283c]
xor ecx, esp
call fcn.004a2094
mov esp, ebp
pop ebp
ret
Function at 0x40c130
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
sub esp, 0xc
push edi
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jl 0x40c235
test ebx, ebx
je 0x40c235
push ebp
push 0
push 0
push 0
push 1
push str.JoymaxPortal
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x40c174
pop ebp
xor al, al
pop edi
add esp, 0xc
ret
push esi
push str.https
push edi
mov esi, 0x20000000
call fcn.004a2eb0
add esp, 8
test eax, eax
je 0x40c191
mov esi, 0x20800000
push 0
push esi
push 0
push 0
push edi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x40c1b8
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop ebp
xor al, al
pop edi
add esp, 0xc
ret
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
push 0
push 0
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [esp + 0xc]
lea ecx, [esi + eax]
cmp ecx, 0x3ff
jae 0x40c21c
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esi + ebx]
push eax
push edi
call ebp
mov eax, dword [esp + 0x10]
add esi, eax
test eax, eax
jne 0x40c1c6
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
test esi, esi
mov byte [esi + ebx], 0
pop esi
pop ebp
setne al
pop edi
add esp, 0xc
ret
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop esi
pop ebp
xor al, al
pop edi
add esp, 0xc
ret
xor al, al
pop edi
add esp, 0xc
ret
Function at 0x40dd70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d968b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
jne 0x40ddc0
xor al, al
jmp 0x40ded0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xfe
mov dword [esi + 0x40], eax
lea eax, [esp + 0x31]
push ebx
push eax
mov byte [esp + 0x38], bl
call fcn.004a6f40
mov edx, dword [esi + 0x34]
add esp, 0xc
push 0xa
push 0xff
lea ecx, [esp + 0x34]
push ecx
push ebx
push edx
call fcn.004a32ff
lea eax, [esp + 0x40]
add esp, 0x14
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40de10
sub eax, edx
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00402d90
mov dword [esp + 0x140], ebx
mov edi, 0x10
cmp dword [esi + 0x7c], edi
jb 0x40de40
mov ecx, dword [esi + 0x68]
jmp 0x40de43
lea ecx, [esi + 0x68]
cmp dword [esi + 0x60], edi
jb 0x40de4d
mov edx, dword [esi + 0x4c]
jmp 0x40de50
lea edx, [esi + 0x4c]
cmp dword [esp + 0x28], edi
mov eax, dword [esp + 0x14]
jae 0x40de5e
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x38]
push eax
call fcn.00419790
add esp, 8
cmp eax, ebx
mov dword [esi + 0x3c], eax
je 0x40de94
mov dword [esp + 0x140], 0xffffffff
cmp dword [esp + 0x28], edi
jb 0x40de90
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004a20a3
add esp, 4
xor al, al
jmp 0x40dec0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x40]
mov dword [esi + 0x44], eax
mov dword [esp + 0x140], 0xffffffff
cmp dword [esp + 0x28], edi
jb 0x40debe
mov edx, dword [esp + 0x14]
push edx
call fcn.004a20a3
add esp, 4
mov al, 1
mov byte [esp + 0x14], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xf
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004a2094
mov esp, ebp
pop ebp
ret
Function at 0x415840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d85b6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x284c
call fcn.004c2450
mov eax, dword [0x4fb164]
xor eax, esp
mov dword [esp + 0x2848], eax
push edi
mov eax, dword [0x4fb164]
xor eax, esp
push eax
lea eax, [esp + 0x2858]
mov dword fs:[0], eax
xor ecx, ecx
push ecx
mov eax, 0x415970
push eax
lea eax, [esp + 0x14]
push eax
xor edi, edi
call fcn.00415f80
mov dword [esp + 0x2860], edi
mov ecx, dword [0x4ffde4]
lea eax, [esp + 8]
mov dword [esp + 0x28], eax
mov eax, 3
lea edx, [esp + 0xc]
mov dword [esp + 0x2844], edi
cmp si, di
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edi, [esp + 0x24]
jne 0x415911
push str.select__from__ShardService
call fcn.0041b150
add esp, 4
test eax, eax
jge 0x415924
push str.refresh_shard_service_type_failed___
push 0x2000000
call fcn.0041bf10
add esp, 8
mov dword [esp + 0x2860], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00415ff0
xor eax, eax
jmp 0x41594a
movzx ecx, si
push ecx
push str.select__from__ShardService_where_ShardID___d
call fcn.0041b150
add esp, 8
jmp 0x4158e3
or eax, 0xffffffff
mov dword [esp + 0x2860], eax
mov dword [esp + 0xc], vtable.ServerFramework::CClassTrigger_class_CShardConditionManager_.0
mov dword [esp + 0x2860], eax
mov dword [esp + 0xc], vtable.ServerFramework::CTrigger.0
mov eax, 1
mov ecx, dword [esp + 0x2858]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2848]
xor ecx, esp
call fcn.004a2094
mov esp, ebp
pop ebp
ret
Function at 0x443490
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4ffe58]
test eax, eax
je 0x4434d9
mov eax, dword [eax + 0xbc]
mov dword [0x4ffe3c], eax
call fcn.00443440
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0x4435d0
push 0
push 0
mov dword [0x4ffe44], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4ffe40], eax
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x40054]
mov esi, dword [eax]
lea ebx, [ebp + 0x40050]
mov edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
test edi, edi
mov eax, ebx
mov ecx, dword [eax + 4]
je 0x445719
cmp edi, eax
jne 0x445719
cmp esi, ecx
je 0x44571e
cmp esi, dword [edi + 4]
je 0x445714
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jb 0x445701
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
cmp esi, dword [edi + 4]
je 0x445714
movzx ecx, byte [esi + 0xc]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, ebp
call edx
test al, al
jne 0x445701
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.004472b0
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00446610
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x44568f
lea edx, [esp + 0x10]
call fcn.004472b0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x445697
call fcn.00447170
call fcn.004471e0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10