joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b96b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x41bb22
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41bb22
cmp dword [ebp + 0x18], 0
je 0x41bb22
mov eax, dword [ebp + 0xc]
xor edx, edx
push 3
pop ecx
add eax, 2
div ecx
push 0x68310c
mov esi, eax
shl esi, 2
call fcn.006182a0
imul eax, esi
xor edx, edx
pop ecx
push 0x4c
pop ecx
div ecx
add eax, 2
add eax, esi
cmp dword [ebp + 0x14], eax
jb 0x41bb22
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov dword [ebp - 8], ecx
xor edx, edx
push 3
pop ecx
div ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0xc], eax
mov ecx, edx
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x41ba78
mov eax, dword [ebp + 8]
movzx ecx, byte [esi + eax]
movzx edx, byte [esi + eax + 1]
add esi, 2
mov dword [ebp - 4], esi
inc dword [ebp - 4]
movzx esi, byte [esi + eax]
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
mov al, byte [eax + 0x726080]
mov byte [edi + ebx], al
mov eax, edx
shr eax, 4
and edx, 0xf
or eax, ecx
shl edx, 2
mov al, byte [eax + 0x726080]
mov byte [edi + ebx + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
or eax, edx
mov al, byte [eax + 0x726080]
mov byte [edi + ebx + 2], al
mov al, byte [esi + 0x726080]
mov byte [edi + ebx + 3], al
add edi, 4
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, 0x49
jl 0x41ba68
mov byte [edi + ebx], 0xa
inc edi
xor ecx, ecx
mov dword [ebp - 8], ecx
sub dword [ebp - 0xc], 1
mov esi, dword [ebp - 4]
jne 0x41b9eb
mov ecx, dword [ebp - 0x10]
sub ecx, 0
je 0x41bb0f
sub ecx, 1
je 0x41bada
sub ecx, 1
jne 0x41bb14
mov eax, dword [ebp + 8]
movzx ecx, byte [esi + eax]
movzx edx, byte [esi + eax + 1]
mov eax, ecx
shr eax, 2
and ecx, 3
shl ecx, 4
mov al, byte [eax + 0x726080]
mov byte [edi + ebx], al
mov eax, edx
shr eax, 4
or eax, ecx
and edx, 0xf
mov al, byte [eax + 0x726080]
mov byte [edi + ebx + 1], al
mov al, byte [edx*4 + 0x726080]
mov byte [edi + ebx + 2], al
mov word [edi + ebx + 3], 0xa3d
add edi, 5
jmp 0x41bb14
mov eax, dword [ebp + 8]
push 3
movzx ecx, byte [esi + eax]
mov eax, ecx
shr eax, 2
mov al, byte [eax + 0x726080]
mov byte [edi + ebx], al
pop eax
and ecx, eax
shl ecx, 4
mov al, byte [ecx + 0x726080]
mov byte [edi + ebx + 1], al
mov word [edi + ebx + 2], 0x3d3d
mov byte [edi + ebx + 4], 0xa
jmp 0x41bad5
mov byte [edi + ebx], 0xa
inc edi
mov eax, dword [ebp + 0x18]
mov byte [edi + ebx], 0
mov dword [eax], edi
xor eax, eax
pop edi
jmp 0x41bb25
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e21b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0xc], esi
test edi, edi
jne 0x41e243
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.0042167f
xor al, al
jmp 0x41e3d3
call fcn.0041d87b
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
pop eax
push eax
push ebx
push edi
call fcn.0062b085
push edi
call fcn.0062b6bb
push ebx
push ebx
push dword [ebp + 8]
mov edi, eax
mov dword [ebp - 4], edi
call fcn.0062b085
add esp, 0x1c
test edi, edi
jg 0x41e282
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x41e237
lea eax, [edi + 1]
push eax
call fcn.00609926
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.0062a8d5
add esp, 0x14
cmp eax, 1
je 0x41e2b5
push edi
call fcn.0060992f
pop ecx
push ebx
push ebx
push ebx
push 2
pop edx
push edx
jmp 0x41e27e
cmp dword [ebp + 0xc], 3
je 0x41e2ce
cmp byte [edi], 0xff
jne 0x41e2c6
cmp byte [edi + 1], 0xfe
je 0x41e2ce
mov byte [esi + 0x6d], bl
jmp 0x41e38b
mov eax, dword [ebp - 4]
xor ecx, ecx
cdq
sub eax, edx
mov byte [esi + 0x6d], 1
mov esi, eax
mov dword [ebp + 0xc], ebx
sar esi, 1
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00609926
lea ecx, [esi*2 + 2]
mov dword [ebp + 8], eax
push ecx
mov esi, eax
push ebx
push esi
call fcn.0060b7a0
add esp, 0x10
cmp byte [edi], 0xff
jne 0x41e325
cmp byte [edi + 1], 0xfe
jne 0x41e325
mov eax, dword [ebp - 4]
add eax, 0xfffffffe
push eax
lea eax, [edi + 2]
push eax
jmp 0x41e329
push dword [ebp - 4]
push edi
push esi
call fcn.0060aca0
add esp, 0xc
push edi
call fcn.0060992f
mov edi, dword [0x6802e0]
pop ecx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
mov dword [ebp - 4], eax
lea esi, [eax + 1]
push esi
call fcn.00609926
push esi
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0060b7a0
mov esi, dword [ebp + 8]
add esp, 0x10
push ebx
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call edi
push esi
call fcn.0060992f
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
mov edx, edi
mov byte [edi + ecx], bl
cmp byte [edi], bl
je 0x41e3b8
mov cl, byte [eax]
mov dword [ebp + 8], eax
cmp cl, 0xd
jne 0x41e3b0
inc eax
mov byte [edx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp + 8]
jmp 0x41e3b2
mov byte [edx], cl
inc eax
inc edx
cmp byte [eax], bl
jne 0x41e399
push dword [ebp + 0xc]
mov byte [edx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.0060992f
cmp byte [esi + 0x40], bl
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41edc4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 0x6c], 0
je 0x41ee00
cmp byte [edi + 0x6d], 0
jne 0x41ee00
push esi
push 0xef
call fcn.0062ac01
push esi
push 0xbb
call fcn.0062ac01
push esi
push 0xbf
call fcn.0062ac01
add esp, 0x18
mov eax, dword [edi]
xor ebx, ebx
push ebx
push esi
mov ecx, edi
call dword [eax + 4]
cmp byte [edi + 0x6d], bl
je 0x41ef01
push 2
pop eax
push eax
push ebx
push esi
call fcn.0062b085
push esi
call fcn.0062b6bb
push ebx
push ebx
push esi
mov edi, eax
call fcn.0062b085
add esp, 0x1c
test edi, edi
jg 0x41ee3d
xor al, al
jmp 0x41ef0d
lea eax, [edi + 1]
push eax
call fcn.00609926
push esi
mov ebx, eax
push 1
push edi
push ebx
mov dword [ebp - 4], ebx
mov byte [ebx], 0
call fcn.0062a8d5
xor ecx, ecx
add esp, 0x14
mov byte [ebx + edi], cl
cmp eax, 1
je 0x41ee72
push ebx
call fcn.0060992f
xor al, al
jmp 0x41ef0c
mov edi, dword [0x6802e4]
push ecx
push ecx
push 0xffffffffffffffff
push ebx
push ecx
push 0xfde9
call edi
xor ecx, ecx
mov esi, eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00609926
lea ecx, [esi + esi]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.0060b7a0
add esp, 0x10
push esi
mov esi, dword [ebp - 4]
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push esi
call fcn.0060992f
mov esi, dword [ebp + 8]
push 0
push 0
push esi
call fcn.0062b085
push esi
push 0xff
call fcn.0062ac01
push esi
push 0xfe
call fcn.0062ac01
push ebx
call fcn.006180f6
push esi
push eax
push 2
pop eax
push eax
push ebx
call fcn.0062b956
push ebx
call fcn.0060992f
add esp, 0x38
push esi
call fcn.0062ab88
neg eax
sbb eax, eax
inc eax
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42404f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x20
call dword [0x680320]
push eax
call dword [0x680004]
test eax, eax
je 0x4240c3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push esi
call dword [0x68000c]
mov eax, dword [ebp + 8]
neg eax
push esi
sbb eax, eax
push esi
and eax, 2
push 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call dword [0x680008]
call dword [0x6802ec]
push dword [ebp - 0x18]
neg eax
sbb esi, esi
inc esi
call dword [0x6802c0]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x45611d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
call fcn.0045bfed
lea ecx, [ebp - 0x20]
call fcn.00417833
push ecx
mov ecx, esp
mov edi, str.rmup.exe
push edi
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x20]
call fcn.00419083
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
push ecx
mov ecx, esp
push edi
call fcn.004177e7
push ecx
mov esi, esp
push ecx
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.00454cc3
push esi
lea ecx, [ebp - 0x20]
call fcn.0041934b
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
mov esi, dword [ebp - 4]
push esi
call dword [0x6804f0]
test eax, eax
je 0x4561af
call fcn.00455ddc
jmp 0x4561c3
push fcn.00455ddc
push 0
push 0x510921
call fcn.006423a8
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4594e3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x348], eax
call fcn.00417833
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
push esp
lea ecx, [ebp - 0x18]
call fcn.00418c45
push esi
lea ecx, [ebp - 0x18]
call fcn.00419083
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041934b
mov esi, dword [ebp + 8]
push esi
call dword [0x6804f0]
test eax, eax
jne 0x459562
xor ebx, ebx
cmp byte [edi + 0x344], bl
jne 0x459559
push 0x4c3527
push ebx
push 0x510921
call fcn.006423a8
add esp, 0xc
mov byte [edi + 0x344], 1
jmp 0x459564
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x471183
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, 0x685128
push esi
push edi
mov edi, dword [ebp + 8]
sub edx, ecx
push 0x30
pop esi
movsx eax, byte [edx + ecx]
mov al, byte [eax + edi - 1]
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x471198
pop edi
pop esi
pop ebp
ret 8

Function at 0x473136
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
push 0x30
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xc4]
push 0
push eax
mov dword [ebp - 0xf8], ecx
call fcn.0060b7a0
push 0x30
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.0060b7a0
push 7
xor eax, eax
lea edi, [ebp - 0x23]
pop ecx
xor edx, edx
mov byte [ebp - 0x24], dl
rep stosd dword es:[edi], eax
push 7
pop ecx
mov byte [ebp - 0x64], dl
stosw word es:[edi], ax
push 0x30
push edx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x94]
push eax
call fcn.0060b7a0
push 7
xor eax, eax
mov byte [ebp - 0x44], 0
pop ecx
lea edi, [ebp - 0x43]
shl esi, 4
rep stosd dword es:[edi], eax
add esi, ebx
push 0x30
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0xf8]
imul eax, esi, 0x30
add eax, edi
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0060aca0
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0xc4]
add esp, 0x30
mov ecx, edi
push eax
push esi
call fcn.00471183
xor ebx, ebx
mov eax, ebx
movups xmm1, xmmword [ebp + eax - 0x94]
movups xmm0, xmmword [ebp + eax - 0xc4]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xf4], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x473207
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0045a43c
mov ecx, ebx
movsx eax, byte [ecx + 0x685358]
mov al, byte [ebp + eax - 0x45]
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x47323f
mov edi, dword [ebp - 0x100]
lea eax, [ebp - 0x24]
mov edx, edi
sub edx, eax
lea eax, [ebp - 0x24]
add eax, ebx
mov cl, byte [edx + eax]
xor cl, byte [eax]
mov byte [ebp + ebx - 0x64], cl
inc ebx
cmp ebx, 0x20
jb 0x473261
push 0x20
push esi
push edi
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0060aca0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48558d
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi - 0x2c0]
neg esi
sbb esi, esi
imul edi, dword [0x735fdc], 0x3e8
and esi, eax
mov eax, 0x927c0
cmp edi, eax
jl 0x4855b8
cmp edi, 0x5265c00
jle 0x4855ba
mov edi, eax
mov ebx, 0x21a
push ebx
push dword [esi + 4]
call dword [0x735420]
push 0
push edi
push ebx
push dword [esi + 4]
call dword [0x73541c]
push esi
push 0
push 0x485398
call fcn.006423a8
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x497a37
Capabilities:
Create thread

Disassembly:
lea eax, [ecx - 0x3ec]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0
push 0x4984fb
call fcn.006423a8
add esp, 0xc
ret

Function at 0x497a44
Capabilities:
Create thread

Disassembly:
lea eax, [ecx - 0x3ec]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push 0
push 0x4984fb
call fcn.006423a8
add esp, 0xc
ret
Function at 0x4a6de6
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov ebx, ecx
mov edi, ebx
neg edi
push 0
lea eax, [ebx - 0x364]
sbb edi, edi
and edi, eax
push 0x3a98
push 0x1f4
push dword [edi + 4]
call dword [0x73541c]
push 0
push 0x36ee80
push 0x200
push dword [edi + 4]
call dword [0x73541c]
push ebx
push 0
push 0x498d0d
call fcn.006423a8
add esp, 0xc
pop edi
pop ebx
ret

Function at 0x4a6e23
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov ebx, ecx
mov edi, ebx
neg edi
push 0
lea eax, [ebx - 0x364]
sbb edi, edi
and edi, eax
push 0x3a98
push 0x1f4
push dword [edi + 4]
call dword [0x73541c]
push 0
push 0x36ee80
push 0x200
push dword [edi + 4]
call dword [0x73541c]
push ebx
push 0
push 0x498d0d
call fcn.006423a8
add esp, 0xc
pop edi
pop ebx
ret

Function at 0x4a6f7b
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x40
push esi
lea eax, [edi + 0x600]
push eax
call fcn.0060b7a0
push 0x40
lea eax, [edi + 0x640]
push esi
push eax
call fcn.0060b7a0
push 8
lea eax, [edi + 0x680]
push esi
push eax
call fcn.0060b7a0
push 8
lea eax, [edi + 0x688]
push esi
push eax
call fcn.0060b7a0
push 0x41
lea eax, [edi + 0x690]
push esi
push eax
call fcn.0060b7a0
push 0x11
lea eax, [edi + 0x6d1]
push esi
push eax
call fcn.0060b7a0
add esp, 0x48
lea eax, [edi + 0x6e2]
push 9
push esi
push eax
call fcn.0060b7a0
mov ebx, 0x1000
lea eax, [edi + 0x6eb]
push ebx
push esi
push eax
call fcn.0060b7a0
push ebx
lea eax, [edi + 0x16eb]
push esi
push eax
call fcn.0060b7a0
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.0060b7a0
add esp, 0x30
lea eax, [ebp - 0x7c]
mov ecx, edi
push 0x40
push eax
push dword [ebp + 8]
call fcn.00456635
push 0x38
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.0060b7a0
add esp, 0xc
movsx eax, byte [esi + str.91__]
mov al, byte [ebp + eax - 0x7d]
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x4a704d
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00460161
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8
Function at 0x4bc6fd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
call fcn.004a1afe
push edi
push edi
push 0x576
push dword [0x735624]
call dword [0x7353d8]
push esi
push edi
push 0x47606d
call fcn.006423a8
add esp, 0xc
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x4c006d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
push ecx
mov ebx, ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6bfc04
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
mov esi, eax
pop ecx
cmp dword [esi + 4], 0
je 0x4c0216
push ecx
mov edi, esp
push esi
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.004b57d7
pop ecx
push eax
mov ecx, ebx
call fcn.0047a3ff
test eax, eax
je 0x4c0216
lea ebx, [eax + 8]
push str.card_worldclock_set
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c0102
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
push str.card_worldclock_add_ok
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c011e
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
push str.card_worldclock_add_cancle
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c013a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
push str.card_worldclock_list
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c0156
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x180]
mov edi, 0x6bfaa0
mov ecx, ebx
push edi
call fcn.005d83b1
test eax, eax
je 0x4c0173
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
push edi
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c0216
lea ecx, [eax - 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x4c0216
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x16c]
push ecx
mov edi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.004b57d7
mov edi, eax
mov eax, dword [0x736808]
sub eax, dword [0x736804]
pop ecx
push 0x60
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x4c01df
push edi
push eax
push 0x478541
call fcn.006423a8
add esp, 0xc
jmp 0x4c0216
push 0x6bfaa0
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x4c01f4
lea ecx, [eax - 8]
jmp 0x4c01f6
xor ecx, ecx
test ecx, ecx
je 0x4c0216
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x4c0216
push edi
push eax
push 0x57a
push dword [0x735624]
call dword [0x7353d8]
lea ecx, [esi]
call fcn.00419521
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4c051e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push ecx
mov ebx, ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6bfb28
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
mov esi, esp
mov dword [ebp - 0xc], eax
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004b57d7
pop ecx
mov edi, eax
mov ecx, ebx
push edi
call fcn.0047a3ff
test eax, eax
je 0x4c0704
push 0x6bfaa0
lea ecx, [eax + 8]
call fcn.005d83b1
test eax, eax
je 0x4c05ae
lea esi, [eax - 8]
jmp 0x4c05b0
xor esi, esi
mov eax, dword [0x736808]
sub eax, dword [0x736804]
push 0x60
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x4c05d6
push edi
push eax
push 0x478541
call fcn.006423a8
add esp, 0xc
jmp 0x4c05f8
test esi, esi
je 0x4c05f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0x4c05f8
push edi
push eax
push 0x57a
push dword [0x735624]
call dword [0x7353d8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
cmp eax, 2
jne 0x4c06b6
lea eax, [ebx - 0x3ec]
neg ebx
lea ecx, [esi + 8]
sbb ebx, ebx
and ebx, eax
mov eax, dword [ecx]
mov dword [ebp - 8], ebx
call dword [eax + 0x20]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc4]
mov esi, eax
lea edi, [ebp - 0x1c]
push 0x2d8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00609934
pop ecx
test eax, eax
je 0x4c0653
mov ecx, eax
call fcn.00440ee8
mov ebx, eax
jmp 0x4c0655
xor ebx, ebx
push 0
mov eax, 0x80000000
mov ecx, ebx
push eax
push eax
mov eax, dword [ebp - 8]
push 0
push 0
push 0
push 0x80880000
push str.Toast
push dword [eax + 4]
call fcn.005c122f
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x1c]
sub esp, 0x10
mov ecx, ebx
mov edi, esp
push dword [eax + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f7c9e
push ecx
mov ecx, esp
push 0x6bfb44
call fcn.004177e7
mov ecx, ebx
call fcn.004fd7ed
push 0x3e8
mov ecx, ebx
call fcn.00502228
jmp 0x4c0704
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
push 0
push ecx
mov edi, eax
mov esi, esp
push edi
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
mov esi, esp
push dword [ebp - 0xc]
call fcn.00418dea
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00453700
mov ecx, edi
call fcn.00419521
mov ecx, dword [ebp - 0xc]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c4b48
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [eax], 1
push 0xfde9
push dword [edi]
call fcn.00507e2a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041c804
lea ecx, [ebp - 0xc0]
call fcn.00425081
xor ebx, ebx
lea ecx, [ebp - 0xe0]
push ebx
call fcn.0042c05a
push 0x6809b0
lea ecx, [ebp - 0xc8]
call fcn.004177e7
push 1
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004288d9
test al, al
je 0x4c4c9b
lea eax, [ebp - 0x4c]
push eax
push str.signal
lea ecx, [ebp - 0xe0]
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
lea eax, [ebp - 0x1c]
push eax
push str.token
lea ecx, [ebp - 0xe0]
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0xfde9
cmovae eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004b2a76
add esp, 0xc
lea ebx, [esi + 0x30c]
mov ecx, ebx
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, dword [esi + 0x308]
cmp dword [eax - 0xc], 0
je 0x4c4c5a
push esi
push 0
push 0x48aa94
call fcn.006423a8
add esp, 0xc
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4c4c85
push 0x6afa34
push str._Pcmaster_LunarCalendar_webbrowser
call dword [0x73546c]
test eax, eax
je 0x4c4c85
push ebx
push ebx
push 0x590
push eax
call dword [0x7353d8]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041f932
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041f932
push 1
mov ecx, edi
call fcn.0044ce6f
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0xe0]
call fcn.0042c25f
lea ecx, [ebp - 0xc0]
call fcn.00448a4c
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041f932
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0x10