joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4850b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push 0x3c
mov ebx, ecx
call fcn.0043f000
mov esi, eax
add esp, 4
test esi, esi
je 0x485106
mov ecx, ebx
call fcn.004486b0
test eax, eax
je 0x4850df
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
jne 0x4850f5
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 8]
cmp eax, dword [ecx + 0x3e8]
jne 0x4850f5
mov eax, dword [ecx + 0x3e4]
jmp 0x4850f8
add eax, 0x10
push eax
mov ecx, esi
call fcn.00458e50
mov esi, eax
test esi, esi
jne 0x48510d
pop esi
xor eax, eax
pop ebx
ret 0xc
mov ecx, dword [ebx + 0x50]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x18], ecx
mov dword [ebx + 0x50], esi
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp]
mov dword [esi + 0x1c], edx
movzx cx, byte [eax + 3]
mov word [esi + 0xa], cx
movzx dx, byte [eax]
mov word [esi + 8], dx
movzx cx, byte [eax + 1]
mov word [esi + 6], cx
movzx dx, byte [eax + 2]
mov eax, dword [esp + 0x14]
test eax, eax
push edi
lea edi, [esi + 4]
mov word [edi], dx
je 0x485163
lea ecx, [eax + 0x1c]
cmp dword [ecx], 0
je 0x485163
push 1
push edi
call fcn.00461870
movzx eax, word [edi + 6]
cmp eax, 0xff
jge 0x48519e
movzx ecx, word [edi + 4]
movzx edx, word [edi + 2]
inc eax
imul ecx, eax
imul edx, eax
sar ecx, 8
mov word [edi + 4], cx
movzx ecx, word [edi]
imul ecx, eax
sar edx, 8
sar ecx, 8
mov word [edi + 2], dx
mov word [edi], cx
mov eax, 1
jmp 0x4851a0
xor eax, eax
mov ecx, ebx
mov byte [esi + 0x24], al
call fcn.004486b0
test eax, eax
je 0x4851c3
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
je 0x4851c3
add eax, 0x10
jmp 0x4851dc
mov ebx, dword [ebx + 0x2c]
mov eax, dword [ebx + 8]
cmp ebx, dword [eax + 0x3e8]
jne 0x4851d9
mov eax, dword [eax + 0x3e4]
jmp 0x4851dc
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x4851ea
mov ecx, esi
call fcn.004656f0
mov eax, dword [ebp]
inc eax
pop edi
mov dword [ebp], eax
pop ebp
mov eax, esi
pop esi
pop ebx
ret 0xc
Function at 0x487b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x487b61
mov eax, dword [esp + 0x30]
push eax
call fcn.0043bf60
add esp, 4
pop esi
add esp, 0x24
ret 8
mov eax, dword [eax + 0x78]
cmp eax, 7
push edi
jne 0x487bc8
mov ecx, dword [esi + 4]
movzx edi, word [ecx + 0x5a]
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + 0x10]
push edi
push ecx
add eax, 0x3c
push eax
call fcn.0044d9a0
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
push edx
push edi
push eax
add eax, 0x4c
push eax
call fcn.0044d9a0
mov eax, dword [esi + 0x18]
movzx ecx, byte [eax + 0x20]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add esp, 0x20
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00484df0
pop edi
pop esi
add esp, 0x24
ret 8
test eax, eax
mov ecx, esi
jne 0x487c01
push eax
call fcn.004865d0
push 1
mov ecx, esi
mov edi, eax
call fcn.004865d0
mov ecx, dword [esi + 0x18]
movzx edx, byte [ecx]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.00484df0
pop edi
pop esi
add esp, 0x24
ret 8
push ebx
push ebp
push 0
call fcn.004865d0
push 1
mov ecx, esi
mov ebp, eax
call fcn.004865d0
mov edi, eax
push 0
push edi
push ebp
call fcn.0043c280
add esp, 0xc
test eax, eax
jne 0x487c74
mov eax, dword [esp + 0x38]
push eax
call fcn.0043d810
add esp, 4
test eax, eax
jne 0x487c74
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x487c59
mov ecx, dword [ecx + 0x48]
test cl, 2
je 0x487c4f
mov eax, 1
test cl, 1
je 0x487c5e
or eax, 2
jmp 0x487c5e
mov eax, 0xff
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
push ebx
push edx
push edi
push ebp
mov ecx, esi
call fcn.00484df0
jmp 0x487c87
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push edi
push eax
call fcn.0043cb90
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x487ca6
mov ecx, esi
call fcn.00482f90
mov edx, dword [eax]
neg edx
push ebx
push edx
call fcn.0043df50
add esp, 8
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 4
jne 0x487d08
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x487d08
mov edx, dword [eax + 0xc]
test edx, edx
jbe 0x487d08
mov ecx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x487cd2
call fcn.00494e90
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], eax
call fcn.0043bf60
mov eax, dword [esp + 0x3c]
add esp, 4
lea edx, [esp + 0x20]
push edx
push 0x481370
push eax
mov ecx, esi
call fcn.004846f0
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.0043e070
add esp, 0xc
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 8
Function at 0x48c250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x18]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x48c2de
cmp dword [eax + 0x78], 9
jne 0x48c2de
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
je 0x48c27e
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x48c27e
mov eax, dword [eax + 0x3e0]
jmp 0x48c280
xor eax, eax
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0043e260
add esp, 0xc
test al, al
je 0x48c328
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0043c680
mov edx, dword [ebp + 4]
mov ecx, dword [edx + 0x18]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.004318c0
push eax
call fcn.0043c220
add esp, 8
test eax, eax
je 0x48c328
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
cmp dword [esp + 0x44], ebx
je 0x48c334
mov ecx, ebp
call fcn.004826b0
test eax, eax
je 0x48c328
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push 1
push ecx
push edx
sub esp, 0xdc
mov ecx, esp
push eax
call fcn.00487ae0
mov ecx, ebp
call fcn.0048cab0
test eax, eax
je 0x48c328
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov edi, dword [esp + 0x40]
lea ecx, [ebp + 0x7c]
push edi
push ecx
mov dword [esp + 0x4c], ebx
call fcn.0043c220
add esp, 8
test eax, eax
je 0x48c42a
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push 1
push edx
push eax
mov ecx, ebp
call fcn.0048ae30
mov esi, dword [ebp + 0x4c]
test esi, esi
je 0x48c42a
movsx eax, word [esi + 0x12]
mov edx, dword [edi + 4]
cmp eax, edx
jg 0x48c3fa
movsx ecx, word [esi + 0x1a]
cmp edx, ecx
jge 0x48c3fa
movsx edx, word [esi + 0x10]
mov dword [esp + 0x1c], eax
movsx eax, word [esi + 0x14]
mov dword [esp + 0x18], edx
movsx edx, word [esi + 0x16]
mov dword [esp + 0x20], eax
movsx eax, word [esi + 0x18]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [esi + 0x1c]
push 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1c]
push edi
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
call fcn.0041f260
add esp, 0xc
test ax, ax
je 0x48c3fa
movzx eax, byte [esi + 0x1d]
sub eax, 0
mov ebx, 1
je 0x48c3ec
dec eax
je 0x48c3e7
dec eax
jne 0x48c3fa
mov eax, dword [esi + 8]
mov cl, byte [esi + 0x1e]
add byte [eax + 0x25], cl
jmp 0x48c3fa
mov eax, dword [esi + 8]
jmp 0x48c3f6
mov eax, dword [esi + 8]
xor byte [eax + 0x25], 1
mov eax, dword [esi + 0xc]
xor byte [eax + 0x25], 1
mov esi, dword [esi]
test esi, esi
jne 0x48c370
test ebx, ebx
je 0x48c42a
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x48c42a
nop
mov cl, byte [eax + 0x25]
test cl, cl
je 0x48c41f
mov dword [esp + 0x44], 1
mov byte [eax + 0x25], 0
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x48c410
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x494160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov edx, ecx
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
push esi
push edi
lea edi, [edx + 4]
add eax, ecx
add ecx, 2
mov dword [edi + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov dword [esp + 0x10], edx
mov cl, byte [eax]
push ecx
mov ecx, dword [edx + 0x2c]
call fcn.00491c60
mov esi, eax
test esi, esi
je 0x49432a
cmp dword [esi + 0x78], 3
jne 0x49432a
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov cl, byte [eax + edx]
inc eax
mov dword [edi + 4], eax
movzx eax, cl
shr eax, 6
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x49432a
cmp word [esi + 0x36], 0
je 0x49432a
push ebx
push ebp
mov ecx, esi
call fcn.00491910
mov ebp, dword [esi + 0x74]
mov ebx, eax
cmp ebx, ebp
ja 0x494318
lea ecx, [esp + 0x1c]
call fcn.00401580
mov ecx, dword [esi + 0x70]
push ebp
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.00491160
xor ebx, ebx
cmp word [esi + 0x36], bx
jbe 0x4942d6
push 0x14
call fcn.0043f000
add esp, 4
cmp eax, ebx
je 0x494223
movzx edx, word [esi + 0x36]
push 1
push edx
mov ecx, eax
call fcn.0043f050
jmp 0x494225
xor eax, eax
cmp word [esi + 0x36], bx
mov dword [esi + 0x24], eax
mov dword [esp + 0x14], ebx
jbe 0x4942d6
test byte [esi + 0x38], 4
lea ecx, [esp + 0x1c]
je 0x49424b
call fcn.00423ca0
mov dword [esp + 0x10], eax
jmp 0x494259
call fcn.00423c70
movzx ax, al
mov word [esp + 0x10], ax
push 0xc
call fcn.0043f000
add esp, 4
mov ecx, edi
mov ebp, eax
call fcn.00423c70
mov bl, al
cmp bl, 1
jbe 0x49428a
mov ecx, edi
call fcn.00405b40
mov ecx, edi
mov dword [ebp], eax
call fcn.00405b40
mov dword [ebp + 4], eax
add bl, 0xfe
movzx ecx, bl
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 8]
shl ecx, 2
add eax, ecx
mov ecx, edi
mov dword [ebx + 8], eax
call fcn.00423c70
movzx edx, al
movzx eax, word [esp + 0x10]
push ebp
mov dword [ebp + 8], edx
mov ecx, dword [esi + 0x24]
push eax
call fcn.0043f430
mov al, byte [ebx + 0x24]
test al, al
jne 0x4942d4
mov eax, dword [esp + 0x14]
movzx ecx, word [esi + 0x36]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x494236
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x24]
test al, al
jne 0x4942e9
mov al, byte [esp + 0x3c]
test al, al
je 0x494328
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x4942f6
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x70], ebx
mov word [esi + 0x36], bx
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xd0]
push 1
call fcn.004a78e0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x30
ret
mov ecx, dword [esi + 0x68]
mov ecx, dword [ecx + 0xd0]
push 1
call fcn.004a78e0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x4a6f30
Capabilities:
Parse credit card information

Disassembly:
sub esp, 8
push ebx
mov bl, byte [eax]
test bl, bl
push esi
mov byte [esp + 0xb], 0
mov esi, eax
je 0x4a6f8c
cmp bl, 0x3d
mov byte [esp + 0xc], bl
je 0x4a6f8c
cmp bl, 0x3b
je 0x4a6f8c
cmp bl, 0x2f
je 0x4a6f8c
cmp bl, 0x23
je 0x4a6f8c
cmp bl, 0x3f
je 0x4a6f8c
cmp bl, 0x20
je 0x4a6f8c
cmp bl, 0x3a
je 0x4a6f94
mov eax, dword [esp + 0xc]
push eax
call fcn.004a6d60
add esp, 4
test al, al
jne 0x4a6f84
cmp bl, 0x2d
je 0x4a6f84
mov byte [esp + 0xb], 1
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x4a6f42
pop esi
xor al, al
pop ebx
add esp, 8
ret
mov al, byte [esp + 0xb]
test al, al
pop esi
setne al
pop ebx
add esp, 8
ret

Function at 0x4a7bb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
mov cx, word [edx]
xor eax, eax
test cx, cx
je 0x4a7bde
push esi
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, cx
add edx, 2
xor ecx, ecx
mov cx, word [edx]
xor eax, esi
test cx, cx
jne 0x4a7bc1
pop esi
ret 4

Function at 0x4a7bf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebx, ecx
mov eax, dword [ebx + 0xb90]
mov ecx, dword [ebx + 0xb94]
push edi
lea edi, [esi*4]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.0043f000
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xb90], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [ebx + 0xb94], esi
mov dword [ebx + 0xb9c], eax
lea ebp, [esi - 1]
mov dword [esp + 0x1c], eax
jle 0x4a7cf9
mov edi, edi
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + eax*4]
and edi, 0xfffffff8
cmp edi, 1
jbe 0x4a7ce8
mov ecx, edi
xor esi, esi
call fcn.0043b050
mov cx, word [eax]
test cx, cx
je 0x4a7c9e
mov edx, esi
sar edx, 0x1c
shl esi, 4
movzx ecx, cx
xor edx, esi
xor edx, ecx
add eax, 2
xor ecx, ecx
mov cx, word [eax]
test cx, cx
mov esi, edx
jne 0x4a7c80
mov edx, dword [ebx + 0xb90]
and esi, ebp
and esi, 0x7fffffff
cmp dword [edx + esi*4], 0
mov eax, 7
je 0x4a7ccc
mov ecx, edx
lea esp, [esp]
add esi, eax
and esi, ebp
mov edx, dword [ecx + esi*4]
inc eax
test edx, edx
jne 0x4a7cc0
mov ecx, edi
call fcn.0043b050
movzx eax, byte [eax]
mov ecx, dword [ebx + 0xb90]
and eax, 7
or eax, edi
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4a7c60
mov edx, dword [esp + 0x14]
push edx
call fcn.0043f020
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4afee0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, ecx
mov ecx, ebx
call fcn.0043b050
mov ecx, ebx
mov ebp, eax
xor esi, esi
call fcn.0043b050
mov cx, word [eax]
test cx, cx
je 0x4aff22
mov edx, esi
sar edx, 0x1c
shl esi, 4
movzx ecx, cx
xor edx, esi
xor edx, ecx
add eax, 2
xor ecx, ecx
mov cx, word [eax]
test cx, cx
mov esi, edx
jne 0x4aff04
push esi
push ebp
mov ecx, edi
call fcn.004ac300
mov edx, dword [edi + 0xb90]
mov ecx, dword [edx + eax*4]
cmp ecx, 1
ja 0x4aff51
push esi
mov esi, dword [esp + 0x18]
push eax
push ebx
push esi
mov ecx, edi
call fcn.004ac260
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
and ecx, 0xfffffffd
or ecx, 5
pop ebp
mov dword [eax], ecx
pop ebx
ret 8
Function at 0x4b2330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call fcn.0047b080
mov ebp, dword [esp + 0x34]
mov esi, dword [ebp + 0x54]
test esi, esi
mov byte [esp + 0x13], 0
je 0x4b2552
mov ebx, dword [esi + 0x18]
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x4b2552
mov eax, dword [ebp + 0xb4]
mov ecx, dword [eax + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.0047bb00
mov eax, dword [ebx + 0x78]
add eax, 0xfffffffe
cmp eax, 0x5f
ja case.0x4b2397.3
movzx edx, byte [eax + 0x4b2594]
jmp dword [edx*4 + 0x4b2580]
mov ecx, dword [edi + 0x690]
test ecx, ecx
jne 0x4b23ac
xor esi, esi
jmp 0x4b23b3
call fcn.0047c160
mov esi, eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x4b23ff
test esi, esi
je 0x4b23ff
mov ecx, dword [edi + 0xa48]
mov dl, byte [ecx + 0x215]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x3c], dl
call fcn.004b19b0
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0049c740
test eax, eax
mov dword [esp + 0x18], 0
jne case.0x4b2397.3
mov ecx, dword [ebp + 0xb4]
push 0
push str.MovieClip
push ecx
mov ecx, edi
call fcn.004b1d70
jmp 0x4b2552
mov ebx, str.Button
jmp 0x4b242c
mov ebx, str.TextField
jmp 0x4b242c
mov ebx, str.Video
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
call fcn.0040dbd0
test al, al
je 0x4b2552
mov esi, dword [edi + 0x690]
test esi, esi
je 0x4b2552
mov ecx, esi
call fcn.0047c130
test eax, eax
jne 0x4b2464
mov ecx, edi
call fcn.004b1530
mov ecx, esi
call fcn.0047c130
test eax, eax
je 0x4b2552
push ebx
mov ecx, eax
call fcn.0049d570
mov esi, eax
test esi, esi
je 0x4b2552
mov ecx, esi
call fcn.00492680
test al, al
je 0x4b2552
mov ecx, esi
call fcn.00411e60
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b2552
mov ecx, ebp
call fcn.0040c820
mov esi, eax
mov ecx, dword [esi + 4]
push 1
inc ecx
push 0
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0xa90]
mov edx, dword [ebp + 0xb4]
push eax
push 1
push 0
push ecx
push ebp
push edx
mov ecx, edi
mov byte [esp + 0x33], 1
call fcn.004aa8f0
mov ecx, edi
call fcn.0040def0
cmp ebp, dword [esi]
je 0x4b24f4
xor ebp, ebp
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
test eax, eax
mov dword [esi + 4], ecx
jg 0x4b250a
push esi
call fcn.0043f020
add esp, 4
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x4b2517
cmp eax, 0x61
jne 0x4b2552
test ebp, ebp
je 0x4b256c
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x4b2527
cmp dword [eax], 0
jne 0x4b2552
mov ecx, dword [ebp + 0xb4]
call fcn.0049ecd0
test al, 1
je 0x4b2552
mov ecx, dword [edi + 0x420]
push closesocket
push 0
push 0
push 0
push ebp
push 0
push 0
push edi
call fcn.00470400
test ebp, ebp
je 0x4b256c
mov al, byte [esp + 0x13]
test al, al
jne 0x4b256c
mov ecx, ebp
call fcn.00498a70
mov ecx, ebp
call fcn.0049eed0
lea ecx, [esp + 0x1c]
call fcn.0047b0a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4cfee0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x1c], 0xca
jne 0x4cff1b
push esi
call fcn.004d4840
add esp, 4
test eax, eax
jl 0x4cff95
mov al, byte [esi + 0x48]
test al, al
je 0x4cff14
mov dword [esi + 0x1c], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x1c], 0xcb
mov eax, dword [esi + 0x1c]
cmp eax, 0xcb
jne 0x4cff97
mov eax, dword [esi + 0x198]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4cff84
mov eax, dword [esi + 8]
test eax, eax
je 0x4cff3f
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x198]
push esi
call dword [ecx]
add esp, 4
test eax, eax
jl 0x4cff95
je 0x4cff80
cmp eax, 2
je 0x4cff84
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4cff32
cmp eax, 3
je 0x4cff67
cmp eax, 1
jne 0x4cff32
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4cff32
mov ecx, dword [esi + 0x124]
add dword [eax + 8], ecx
jmp 0x4cff32
xor eax, eax
pop esi
ret
mov edx, dword [esi + 0x84]
mov dword [esi + 0x8c], edx
call fcn.004cfdc0
pop esi
ret
cmp eax, 0xcc
je 0x4cff90
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
mov dword [ecx + 0x18], edx
mov eax, 0xffffffec
pop esi
ret
Function at 0x4dd490
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x634a04]
test eax, eax
jne 0x4dd59c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
mov dword [0x634a04], 1
call edi
push str.imm32.dll
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
mov esi, eax
call edi
test esi, esi
je 0x4dd599
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmGetContext
push esi
call edi
test eax, eax
mov dword [0x634a08], eax
je 0x4dd599
push str.ImmReleaseContext
push esi
call edi
test eax, eax
mov dword [0x634a0c], eax
je 0x4dd599
push str.ImmSetCompositionWindow
push esi
call edi
test eax, eax
mov dword [0x634a10], eax
je 0x4dd599
push str.ImmSetCompositionFontA
push esi
call edi
test eax, eax
mov dword [0x634a14], eax
je 0x4dd599
push str.ImmGetCompositionStringW
push esi
call edi
push str.ImmGetOpenStatus
push esi
mov dword [0x634a18], eax
call edi
push str.ImmSetOpenStatus
push esi
mov dword [0x634a1c], eax
call edi
push str.ImmGetConversionStatus
push esi
mov dword [0x634a20], eax
call edi
push str.ImmSetConversionStatus
push esi
mov dword [0x634a24], eax
call edi
push str.ImmSetCompositionStringW
push esi
mov dword [0x634a28], eax
call edi
push str.ImmNotifyIME
push esi
mov dword [0x634a2c], eax
call edi
push str.ImmGetCandidateListW
push esi
mov dword [0x634a30], eax
call edi
mov dword [0x634a34], eax
mov dword [0x634a04], 2
pop edi
pop esi
pop ebx
ret

Function at 0x4dd5a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 7
lea ecx, [esp + 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4dd5ea
push esi
push 0xa
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.004a4c00
add esp, 0x10
test eax, eax
mov eax, dword [esp + 4]
jne 0x4dd5ec
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x4dd690
Capabilities:
Get keyboard layout

Disassembly:
mov eax, dword [0x634a04]
sub esp, 8
test eax, eax
push edi
mov edi, str.UNKNOWN
jne 0x4dd6a7
call fcn.004dd490
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp dword [0x634a04], 2
jne 0x4dd7c8
mov eax, dword [0x634a24]
test eax, eax
je 0x4dd7c8
mov eax, dword [esp + 0x10]
push esi
push eax
call dword [0x634a08]
mov esi, eax
test esi, esi
je 0x4dd7c7
push ebx
call fcn.004dd5a0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
mov ebx, eax
call dword [0x634a24]
test eax, eax
je case.0x4dd740.17
mov eax, dword [esp + 0xc]
cmp eax, 0x400
jbe 0x4dd710
sub eax, 0x400
lea ecx, [ebx - 0x3a4]
cmp ecx, 0x12
ja case.0x4dd740.17
movzx ecx, byte [ecx + 0x4dd7e0]
jmp dword [ecx*4 + 0x4dd7d0]
add eax, 0xfffffff0
cmp eax, 0xb
ja case.0x4dd740.17
movzx edx, byte [eax + 0x4dd80c]
jmp dword [edx*4 + 0x4dd7f4]
pop ebx
mov edi, 0x5e2434
pop esi
mov eax, edi
pop edi
add esp, 8
ret
pop ebx
mov edi, 0x5e241c
pop esi
mov eax, edi
pop edi
add esp, 8
ret
pop ebx
mov edi, 0x5e2404
pop esi
mov eax, edi
pop edi
add esp, 8
ret
pop ebx
mov edi, 0x5e23f0
pop esi
mov eax, edi
pop edi
add esp, 8
ret
cmp eax, 9
ja case.0x4dd740.17
movzx eax, byte [eax + 0x4dd828]
jmp dword [eax*4 + 0x4dd818]
pop ebx
mov edi, str.ALPHANUMERIC_HALF
pop esi
mov eax, edi
pop edi
add esp, 8
ret
pop ebx
mov edi, str.KOREAN
pop esi
mov eax, edi
pop edi
add esp, 8
ret
cmp eax, 9
ja case.0x4dd740.17
movzx ecx, byte [eax + 0x4dd844]
jmp dword [ecx*4 + 0x4dd834]
mov edi, str.CHINESE
pop ebx
pop esi
mov eax, edi
pop edi
add esp, 8
ret
Function at 0x4de240
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebx
xor eax, eax
push esi
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x68]
xor bl, bl
test al, al
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0x44
je 0x4de288
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], 5
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0043a460
mov esi, eax
add esp, 4
test esi, esi
je 0x4de2e0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
push esi
setne bl
call fcn.0043f020
add esp, 4
test bl, bl
je 0x4de2e0
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret