joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413aac
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
call dword [0x42a20c]
push eax
call fcn.00421d78
pop ecx
lea eax, [ebp - 0x28]
push eax
call dword [0x42a128]
mov word [ebp - 0x28], 0x7d9
call fcn.00421d82
cdq
push 7
pop ecx
idiv ecx
mov word [ebp - 0x26], dx
call fcn.00421d82
push 0x12
cdq
pop ecx
idiv ecx
mov esi, dword [0x42a124]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
inc edx
mov word [ebp - 0x22], dx
call esi
inc word [ebp - 0x26]
add word [ebp - 0x22], 2
call fcn.00421d82
cdq
push 0xa
pop ecx
idiv ecx
inc edx
mov word [ebp - 0x20], dx
call fcn.00421d82
cdq
push 0x32
pop ecx
idiv ecx
inc edx
mov word [ebp - 0x1e], dx
call fcn.00421d82
push 0x37
cdq
pop ecx
idiv ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
inc edx
mov word [ebp - 0x1c], dx
call esi
call fcn.00421d82
cdq
push 2
pop ecx
idiv ecx
add word [ebp - 0x22], 3
add word [ebp - 0x26], dx
call fcn.00421d82
cdq
push 0xa
pop ecx
idiv ecx
inc edx
mov word [ebp - 0x20], dx
call fcn.00421d82
cdq
push 0x32
pop ecx
idiv ecx
inc edx
mov word [ebp - 0x1e], dx
call fcn.00421d82
push 0x37
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
inc edx
mov word [ebp - 0x1c], dx
call esi
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call dword [0x42a1d8]
mov esi, eax
cmp esi, 0xffffffff
je 0x413bcc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [0x42a120]
push esi
call dword [0x42a1e0]
pop esi
leave
ret
Function at 0x413bcf
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push dword [ebp + 8]
call fcn.0041382b
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
ja 0x413bef
xor al, al
jmp 0x413cc2
push esi
push edi
push 0x100000
call fcn.00410bf4
mov esi, dword [0x42a1d8]
pop ecx
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 1], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x413c9a
push ebx
push edi
push 4
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x413c9d
mov esi, dword [0x42a1dc]
mov eax, 0x100000
cmp dword [ebp - 0xc], eax
push ebx
jb 0x413c5e
lea ecx, [ebp - 8]
push ecx
push eax
jmp 0x413c65
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x413c9d
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push edi
call dword [0x42a1d4]
test eax, eax
je 0x413c9d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 8], eax
jne 0x413c9d
sub dword [ebp - 0xc], eax
jne 0x413c4c
mov byte [ebp - 1], 1
jmp 0x413c9d
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ebx
mov esi, dword [0x42a1e0]
je 0x413cad
push dword [ebp - 0x10]
call esi
cmp edi, ebx
je 0x413cb4
push edi
call esi
push dword [ebp - 0x14]
call fcn.00410c3b
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413cc5
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0xc]
call dword [0x42a1f4]
test eax, eax
jne 0x413cdd
xor al, al
pop esi
ret
push 0x80
push esi
call dword [0x42a10c]
push esi
call dword [0x42a204]
push esi
push dword [esp + 0xc]
call dword [0x42a068]
test eax, eax
setne al
pop esi
ret
Function at 0x413e36
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
push 8
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [0x42a0c8]
push eax
call dword [0x458cc4]
test eax, eax
jne 0x413e67
call dword [0x42a0b8]
jmp 0x413f8b
push edi
lea eax, [ebp - 8]
push eax
push esi
push esi
xor edi, edi
inc edi
push edi
push dword [ebp - 0xc]
call dword [0x42a024]
mov esi, dword [0x42a0b8]
call esi
cmp eax, 0x7a
je 0x413e91
call esi
mov esi, eax
jmp 0x413f74
push ebx
push dword [ebp - 8]
call fcn.00410bf4
pop ecx
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
push dword [ebp - 0xc]
call dword [0x42a024]
test eax, eax
je 0x413f55
push dword [ebx]
call dword [0x42a020]
add eax, 0x10
push eax
mov dword [ebp - 0x10], eax
call fcn.00410bf4
pop ecx
push 2
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push eax
call dword [0x42a01c]
test eax, eax
je 0x413f55
push dword [ebx]
push 0x101fffff
push 2
push dword [ebp - 4]
call dword [0x42a018]
test eax, eax
je 0x413f55
push edi
lea eax, [ebp - 0x30]
push eax
call dword [0x42a014]
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x30]
push edi
push eax
call dword [0x42a010]
push edi
push dword [ebx]
lea eax, [ebp - 0x30]
push eax
call dword [0x42a00c]
push edi
push 0
lea eax, [ebp - 0x30]
push eax
call dword [section..rdata]
push edi
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [0x42a02c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], edi
call dword [0x42a12c]
call esi
test ebx, ebx
mov esi, eax
je 0x413f64
push ebx
call fcn.00410c3b
pop ecx
cmp dword [ebp - 4], 0
pop ebx
je 0x413f74
push dword [ebp - 4]
call fcn.00410c3b
pop ecx
push dword [ebp - 0xc]
call dword [0x42a1e0]
push 6
push dword [ebp + 8]
call dword [0x42a10c]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x414787
Capabilities:
Acquire debug privileges
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.00421df0
push 1
push 0x42a534
mov byte [ebp - 1], 0
call fcn.00413d4d
test eax, eax
pop ecx
pop ecx
je 0x4147c4
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [0x458c04]
test eax, eax
jne 0x4147c8
xor eax, eax
leave
ret
mov eax, dword [ebp - 0xc]
shr eax, 2
je 0x41487d
push esi
push edi
lea esi, [ebp - 0x1114]
mov dword [ebp - 8], eax
push 0x42a52c
lea eax, [ebp - 0x114]
push eax
call dword [0x42a1ec]
push dword [esi]
push 0
push 0x411
call dword [0x458b44]
mov edi, eax
test edi, edi
je 0x41485e
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [0x458c5c]
test eax, eax
je 0x414855
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
push edi
call dword [0x458adc]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call dword [0x42a054]
test eax, eax
jne 0x414855
push eax
push edi
call dword [0x458b84]
test eax, eax
je 0x414855
mov byte [ebp - 1], 1
push edi
call dword [0x42a1e0]
jmp 0x41486f
cmp dword [esi], 0
jbe 0x41486f
push esi
push 0x405fd0
call dword [0x42a290]
add esi, 4
dec dword [ebp - 8]
jne 0x4147df
pop edi
pop esi
movzx eax, byte [ebp - 1]
leave
ret

Function at 0x414883
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
push edi
push 5
call dword [0x42a1e4]
push dword [ebp + 8]
mov edi, dword [0x42a260]
inc dword [ebp + 0xc]
lea eax, [ebp - 0x348]
push 0x42a3b4
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [0x42a1e8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4149cc
mov esi, dword [0x42a1f0]
test byte [ebp - 0x244], 0x10
je 0x414939
cmp byte [ebp - 0x218], 0x2e
je 0x4149b6
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x42a3a8
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00414883
add esp, 0x20
test eax, eax
je 0x4149b6
cmp dword [ebp + 0xc], 2
jg 0x4149b6
xor esi, esi
inc esi
jmp 0x4149ce
cmp dword [ebp + 0x10], 0
je 0x414969
lea eax, [ebp - 0x218]
push eax
call dword [0x42a214]
cmp dword [ebp + 0x14], eax
jge 0x4149b6
sub eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp + eax - 0x218]
push eax
call dword [0x42a054]
test eax, eax
jne 0x4149b6
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [0x42a1ec]
push 0x42a3b0
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 0x80
lea eax, [ebp - 0x104]
push eax
call dword [0x42a10c]
lea eax, [ebp - 0x104]
push eax
call dword [0x42a204]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [0x42a21c]
test eax, eax
jne 0x4148d9
xor esi, esi
push ebx
call dword [0x42a220]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414ef4
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00413a97
test eax, eax
pop ecx
jne 0x414f08
mov al, 1
pop esi
ret
push esi
call fcn.00413f8e
pop ecx
push 0x80
push esi
call dword [0x42a10c]
push esi
call fcn.00413d02
pop ecx
push esi
call dword [0x42a204]
test eax, eax
setne al
pop esi
ret

Function at 0x415755
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [0x42a290]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
mov edi, 0x4156f5
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call esi
cmp dword [ebp - 0xc], ebx
jne 0x415797
cmp dword [ebp - 4], ebx
je 0x415797
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret

Function at 0x415cfe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
and dword [ebp - 4], 0
push edi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call dword [0x42a1d8]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415d32
xor eax, eax
jmp 0x415d77
push 0x258
lea eax, [ebp - 0x260]
push eax
push 0x42f310
call fcn.00413410
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [0x42a214]
push eax
lea eax, [ebp - 0x260]
push eax
push edi
call dword [0x42a1d4]
push edi
call dword [0x42a1e0]
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x41611c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2810
call fcn.00421df0
push esi
push dword [ebp + 0x14]
call dword [0x42a214]
push dword [ebp + 0x14]
mov esi, eax
lea eax, [ebp - 0x2810]
push eax
call dword [0x42a1ec]
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00421c60
add esp, 0xc
push dword [ebp + 0x10]
mov word [ebp - 0x10], 2
call dword [0x42a34c]
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
lea eax, [ebp - 0x2810]
push eax
push dword [ebp + 8]
call dword [0x42a31c]
pop esi
leave
ret
Function at 0x41a836
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40a0
call fcn.00421df0
push ebx
push esi
push edi
mov edi, dword [0x42a214]
mov esi, 0x45a2d8
push esi
call edi
push eax
push dword [0x4490ac]
call fcn.0041b3b2
pop ecx
pop ecx
push eax
push dword [0x4490b0]
push esi
call edi
push eax
push esi
push dword [0x4490ac]
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b594
add esp, 0x18
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [0x42a1d8]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41a8ad
xor eax, eax
jmp 0x41a931
mov esi, dword [0x42a1dc]
push ebx
lea ecx, [ebp - 8]
push ecx
mov edi, 0x400
push edi
lea ecx, [ebp - 0x408]
push ecx
push eax
jmp 0x41a8fa
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x41a900
shl eax, 3
push ebx
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b8d7
add esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41a8c8
push dword [ebp - 4]
call dword [0x42a1e0]
lea eax, [ebp - 0x40a0]
push ebx
push eax
call fcn.0041bb4a
mov esi, dword [ebp + 0xc]
push 0x40
lea eax, [ebp - 0x4058]
push eax
push esi
call fcn.00421920
xor eax, eax
add esp, 0x14
mov byte [esi + 0x40], bl
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b477
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
cmp edi, edx
je 0x41b591
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x41b4b5
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx cx, bl
mov word [ebp - 4], cx
add edi, 7
shr eax, 3
shr edi, 3
xor esi, esi
test edi, edi
mov dword [ebp - 0xc], eax
jle 0x41b58f
lea eax, [edi - 1]
cmp esi, eax
je 0x41b4e6
mov eax, dword [ebp + 0x10]
movzx ax, byte [esi + eax]
xor ecx, ecx
mov ch, byte [ebp - 4]
xor eax, ecx
add edx, 8
jmp 0x41b516
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x41b4f8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [esi + eax]
mov ebx, dword [ebp - 4]
mov cl, 8
sub cl, byte [ebp - 8]
shr al, cl
mov ecx, dword [ebp - 8]
shl ebx, cl
movzx ax, al
or eax, ebx
add edx, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
setne cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp edx, 8
setge al
test ecx, eax
jne 0x41b54a
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x41b586
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x41b557
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
mov cl, dl
sub cl, byte [ebp - 8]
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 8]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 8]
sar eax, cl
mov ecx, dword [ebp - 0xc]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov byte [ecx + eax], bl
jmp 0x41b526
inc esi
cmp esi, edi
jl 0x41b4ce
pop esi
pop ebx
pop edi
leave
ret

Function at 0x41bda5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x28
push 0x45af68
push 0x42aea0
mov byte [ebp - 1], 0
call fcn.0041425e
add esp, 0xc
test eax, eax
mov dword [0x45b00c], eax
jg 0x41bdce
xor al, al
leave
ret
lea eax, [ebp - 1]
push eax
push 0x41bd1b
call dword [0x42a290]
cmp byte [ebp - 1], 0
jne 0x41bdee
push 0x3a98
call dword [0x42a1e4]
mov al, byte [ebp - 1]
leave
ret
Function at 0x41bdf3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00429aca
mov esi, eax
test esi, esi
je 0x41be87
push ebx
push edi
push esi
call fcn.00410bf4
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push dword [ebp + 8]
call fcn.00429ac4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42a3b0
push ebx
call fcn.00429abe
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
push ebx
call fcn.00410c3b
push esi
push 0x42aeb8
call fcn.00422b3d
push edi
push 0x42aeac
call fcn.00422b3d
mov ecx, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, si
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov eax, edi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, di
add esp, 0x14
mov dword [ecx], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret
Function at 0x41e79a
Capabilities:
Get geographical location

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0x42a440
push edi
call fcn.00421f60
test eax, eax
pop ecx
pop ecx
je 0x41e94b
push ebx
push esi
mov esi, dword [0x42a1f4]
push 0x42b420
push edi
mov byte [eax], 0
lea ebx, [eax + 1]
call esi
test eax, eax
je 0x41e943
push 0x42b23c
push edi
call esi
test eax, eax
jne 0x41e7ef
push ebx
push 0x45b204
call dword [0x42a1ec]
jmp 0x41e943
push 0x42b230
push edi
call esi
test eax, eax
je 0x41e943
push 0x42b22c
push edi
call esi
test eax, eax
jne 0x41e833
mov bl, byte [ebx]
cmp bl, 0x4d
jne 0x41e81e
mov byte [0x45b30d], 1
jmp 0x41e943
cmp bl, 0x46
jne 0x41e943
mov byte [0x45b30d], 2
jmp 0x41e943
push 0x42b218
push edi
call esi
test eax, eax
jne 0x41e84c
push 3
push ebx
push 0x45b311
jmp 0x41e923
push 0x42b414
push edi
call esi
test eax, eax
jne 0x41e87f
mov edi, dword [0x42a208]
push 3
push ebx
mov esi, 0x45b314
push esi
call edi
push esi
call fcn.0041f504
pop ecx
push 2
push esi
push 0x459461
call edi
jmp 0x41e943
push 0x42b210
push edi
call esi
test eax, eax
jne 0x41e898
push 0x20
push ebx
push 0x45b337
jmp 0x41e923
push 0x42b204
push edi
call esi
test eax, eax
jne 0x41e8ae
push 0x10
push ebx
push 0x45b357
jmp 0x41e923
push 0x42b1f4
push edi
call esi
test eax, eax
jne 0x41e8c4
push 0x10
push ebx
push 0x45b367
jmp 0x41e923
push 0x42b1e4
push edi
call esi
test eax, eax
jne 0x41e8da
push 0x10
push ebx
push 0x45b377
jmp 0x41e923
push 0x42b1d8
push edi
call esi
test eax, eax
jne 0x41e8f3
push 0x100
push ebx
push 0x45b387
jmp 0x41e923
push 0x42b1d0
push edi
call esi
test eax, eax
jne 0x41e90c
push 0x100
push ebx
push 0x45b487
jmp 0x41e923
push 0x42b138
push edi
call esi
test eax, eax
jne 0x41e92b
push 0x100
push ebx
push 0x45b587
call dword [0x42a208]
jmp 0x41e943
push 0x42b408
push edi
call esi
test eax, eax
jne 0x41e949
push ebx
call fcn.0042203e
pop ecx
mov dword [0x45b688], eax
inc dword [0x45b90c]
pop esi
pop ebx
pop edi
ret
Function at 0x41f298
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [0x42a2c0]
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x100], bl
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x42b6bc
mov byte [0x449320], 1
mov byte [0x45b038], 1
stosb byte es:[edi], al
call esi
push 0x42b6a4
mov dword [0x45b0e4], eax
call esi
mov dword [0x45b0e8], eax
call dword [0x42a134]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b0e4], ebx
mov dword [0x45b058], eax
je 0x41f3dd
cmp dword [0x45b0e8], ebx
je 0x41f3dd
push ebx
push ebx
push ebx
push 0x41f114
push ebx
push ebx
call dword [0x42a058]
mov esi, dword [0x42a1e4]
jmp 0x41f331
push 0xa
call esi
cmp dword [0x45b054], ebx
je 0x41f32d
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45b054]
push dword [0x45b0e8]
push 0xffff
call dword [0x42a2bc]
xor edi, edi
jmp 0x41f366
cmp edi, 0x64
jge 0x41f39e
push 0xa
inc edi
call esi
cmp dword [0x45b0ec], ebx
je 0x41f35c
jmp 0x41f39e
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f38f
push ebx
call fcn.0040c674
pop ecx
push ebx
call fcn.00414776
mov dword [esp], 0x2710
call esi
cmp byte [0x463918], bl
jne 0x41f370
push dword [0x45b058]
push 0x45b060
call dword [0x42a27c]
push dword [0x45b058]
call dword [0x42a1e0]
mov eax, dword [0x45b054]
cmp eax, ebx
mov dword [0x45b058], ebx
je 0x41f3dd
push ebx
push ebx
push 0x12
push eax
call dword [0x42a280]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f3fc
push ebx
call fcn.0040c674
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4200f9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esi], eax
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], ebx
mov byte [esi + 0x27], bl
push dword [eax + 4]
call fcn.0041dafd
mov edi, eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041db51
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x42016e
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x4f1a00
ja 0x42016e
cmp dword [ebp + 8], 3
jb 0x42016e
mov byte [esi + 0x24], bl
jmp 0x420172
mov byte [esi + 0x24], 1
cmp edi, ebx
je 0x42019e
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x7080
ja 0x42019e
cmp dword [ebp + 8], 0x64
jbe 0x42019e
mov byte [esi + 0x25], 1
jmp 0x4201a1
mov byte [esi + 0x25], bl
cmp edi, ebx
je 0x4201c7
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x5dc
ja 0x4201c7
mov byte [esi + 0x26], 1
jmp 0x4201ca
mov byte [esi + 0x26], bl
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x40]
push 0x42b700
push eax
call dword [0x42a260]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d048
mov edi, dword [0x42a1e4]
add esp, 0x10
push 0x7d0
jmp 0x420207
lea eax, [ebp - 0x40]
push eax
call fcn.0041d048
mov dword [esp], 0x1388
call edi
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041d208
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
je 0x4201f7
mov ecx, dword [eax + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x18], ebx
push dword [eax + 0xc]
call fcn.0041d332
cmp eax, ebx
pop ecx
je 0x42023a
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov ecx, esi
call fcn.0041ff6d
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], 0x2710
mov eax, esi
pop esi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
je 0x42039c
push 0x42a784
push dword [ebp + 8]
call fcn.00413761
test eax, eax
pop ecx
pop ecx
jne 0x42039c
cmp byte [ebp + 0xc], 0
push esi
mov esi, dword [0x42a20c]
push edi
mov byte [ebp - 0x400], al
mov ecx, 0xff
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x420339
mov ecx, ebx
call fcn.00420254
call esi
cmp eax, dword [ebx + 0x14]
jae 0x420339
push 0x12c
call dword [0x42a1e4]
jmp 0x420325
push dword [ebp + 8]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x400]
push 0x42b710
push 0x3e8
push eax
call fcn.00422043
lea eax, [ebp - 0x400]
push eax
call fcn.0041d048
add esp, 0x18
call esi
push eax
call fcn.00421d78
cmp byte [ebp + 0xc], 0
pop ecx
je 0x42039a
call fcn.00421d82
cdq
mov ecx, 0x190
idiv ecx
push dword [ebp + 8]
mov edi, edx
add edi, dword [ebx + 0x10]
call dword [0x42a214]
imul edi, eax
call esi
add edi, eax
mov dword [ebx + 0x14], edi
pop edi
pop esi
pop ebx
leave
ret 8