Function at 0x100214dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov edi, edx
mov byte [esp + 0x40], cl
mov dword [esp + 0x2c], edi
je 0x100216be
cmp byte [ebp + 8], 0
je 0x100216af
push 0
pop ebx
mov dword [esp + 0x14], 0x16b3
cmp dword [esp + 0x14], 0x1a1e
push 1
pop esi
jle 0x100215b4
mov edi, ebx
mov dword [esp + 0x10], ebx
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov eax, edi
mov edi, ebx
cdq
idiv ecx
mov eax, edx
mov dword [esp + 0x20], eax
mov ecx, edi
shl eax, cl
lea ecx, [esp + 0xb0]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1002155b
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push esi
lea ecx, [esp + 0xb8]
call fcn.100052dc
mov eax, dword [esp + 0x20]
inc edi
cmp edi, 0x47e9
jl 0x1002153e
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x3e18
jl 0x10021531
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x59b4
jl 0x1002152b
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
cmp dword [esp + 0x14], 0x1680
jge 0x100215c9
push str.ermcbcn_rqtlfe_hgjzutpv_ffstdt
call fcn.10045eec
pop ecx
mov dword [esp + 0x1c], 0xae9
cmp dword [esp + 0x1c], 0xdc8
jle 0x10021688
mov dword [esp + 0x18], ebx
mov edi, ebx
mov dword [esp + 0x20], ebx
mov ecx, ebx
mov dword [esp + 0x34], ebx
mov eax, edi
mov dword [esp + 0x14], 0x2542
cdq
idiv ecx
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
mov eax, edi
sar eax, cl
lea ecx, [esp + 0xc8]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10021627
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push esi
lea ecx, [esp + 0xd0]
call fcn.100052dc
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x24]
dec dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jne 0x1002160a
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, 0x627c
jl 0x100215ef
inc edi
mov dword [esp + 0x20], edi
cmp edi, 0x5f29
jl 0x100215e9
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x2946
jl 0x100215e3
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xa2522abf
cmp dword [esp + 0x1c], 0x707
jge 0x10021c4f
push str.umpogiez_fuvowr_qxhbq_fvccn_vtcewc_bkcjs_vyrixrhi_lvkjdks_ltvhod_qwwjrxtt
call fcn.10045eec
pop ecx
jmp 0x10021c4f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x10021c4f
test cl, cl
je 0x100216cf
push 0
call dword [sym.imp.USER32.dll_RegisterClassA]
jmp 0x10021c4f
mov dword [esp + 0x4c], edi
xor ebx, ebx
mov dword [esp + 0x14], 0xffffffff
push 3
mov dword [esp + 0x1c], 0x475ee4c2
mov dword [esp + 0x28], ebx
pop edx
mov dword [esp + 0x1c], 0xf3922cbd
push 2
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], ebx
pop ecx
jmp 0x10021711
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x54], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10021705
mov dword [esp + 0x14], ebx
jmp 0x1002172d
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x6c], 0xfffffffe
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x1002171d
xor esi, esi
mov dword [esp + 0x14], ebx
inc esi
jmp 0x1002174c
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x30], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1002173c
mov dword [esp + 0x14], ebx
jmp 0x1002176b
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x9c], 0xbc6200d4
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10021758
mov dword [esp + 0x14], ebx
jmp 0x10021877
mov dword [esp + 0x20], 0xfffffffd
mov dword [esp + 0x10], ebx
jmp 0x10021798
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x60], 9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10021788
mov dword [esp + 0x10], ebx
jmp 0x100217b4
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x64], 0x6369
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x100217a4
mov eax, dword [esp + 0x14]
cmp dword [esp + eax*4 + 0x54], ebx
je 0x10021815
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x54]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
neg eax
je 0x100217e4
mov eax, dword [esp + 0x14]
mov ecx, ebx
cmp dword [esp + eax*4 + 0x54], ebx
jne 0x100217e6
mov ecx, esi
mov eax, dword [esp + 0x68]
mov edx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov ecx, 0x1330
mov eax, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x68]
cmp eax, ecx
jge 0x10021817
mov edx, ebx
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
push 2
setle cl
xor edx, edx
sub ecx, 0x6d42bd36
cmp ecx, eax
setg dl
sub edx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
add edx, 0xb6d1
mov eax, dword [esp + eax*4 + 0x58]
cmp edx, eax
mov eax, dword [esp + 0x18]
setge cl
xor edx, edx
imul ecx, ecx, 0x2a90
mov eax, dword [esp + eax*4 + 0x58]
cmp ecx, eax
pop ecx
setg dl
xor eax, eax
test edx, edx
setns al
mov dword [esp + 0x30], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jle 0x1002177a
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
je 0x100218a6
mov eax, dword [esp + 0xa0]
cmp eax, dword [esp + 0x34]
jg 0x100218a6
cmp dword [esp + 0x30], ebx
je 0x100218a6
mov edx, esi
cmp dword [esp + 0x18], ebx
jne 0x100218a8
mov edx, ebx
mov dword [esp + 0x6c], edx
xor ecx, ecx
mov eax, dword [esp + 0x5c]
cmp edx, eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xa0]
setg cl
imul edx, ecx
xor ecx, ecx
push 0xfffffffffffffff6
cmp edx, eax
pop eax
setne cl
cmp eax, ecx
mov eax, dword [esp + 0x30]
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0xd526d2e8
mov dword [esp + 0x1c], 0x76acb8f2
mov dword [esp + 0x24], 0xfe81720d
mov dword [esp + 0x20], 0x212e
cmp dword [esp + 0x20], 0x21d4
jle 0x10021965
mov edi, ebx
mov ecx, ebx
mov dword [esp + 0x1c], ebx
mov eax, edi
sar eax, cl
lea ecx, [esp + 0xe0]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10021932
mov eax, dword [eax]
push eax
call fcn.10045eec
pop ecx
push ebx
push esi
lea ecx, [esp + 0xe8]
call fcn.100052dc
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x10a1
jl 0x10021915
inc edi
cmp edi, 0x5437
jl 0x1002190f
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0xfffffffb
cmp dword [esp + 0x20], 0x1f0e
jge 0x10021982
push str.pqyvkdpcj_cyqtl_zbwtmd_vdgueff_xka_npb
call fcn.10045eec
pop ecx
mov dword [esp + 0x1c], 0xffffffff
mov eax, 0x30045702
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x18], ebx
jmp 0x100219c8
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x80], 0xfff6
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x100219b5
sub esp, 0x10
call fcn.100206cd
add esp, 0x10
cmp dword [esp + 0x10], ebx
jne 0x10021a0b
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
setne dl
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push 0xfffffffffffffffe
pop edx
cmp eax, edx
movzx eax, word [edi]
mov dword [esp + 0x50], eax
setg cl
mov dword [esp + 0x94], ecx
mov dword [esp + 0x10], 0xfffffffc
mov dword [esp + 0x1c], 0x96e6c8ca
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], 0x339b8842
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x24], 0x983c17a3
mov dword [esp + 0x10], ebx
jmp 0x10021a92
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10021a86
mov dword [esp + 0x10], ebx
jmp 0x10021aab
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x3c], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10021a9f
mov dword [esp + 0x10], 8
jmp 0x10021ae2
mov dword [esp + 0x18], 0x7dd68876
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], ebx
jl 0x10021ade
xor cl, cl
call fcn.1001fa50
dec dword [esp + 0x18]
jns 0x10021ad1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xc
jg 0x10021abb
cmp dword [esp + 0x10], ebx
je 0x10021b35
mov eax, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov eax, dword [esp + 0x3c]
setl dl
dec eax
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, esi
setge cl
add ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x50]
push eax
call fcn.1001ed00
mov eax, dword [esp + 0x50]
mov edi, ebx
pop ecx
mov dword [esp + 0x2c], eax
mov esi, eax
push ecx
mov dword [esp + 0x30], 0x198a8f93
lea ecx, [esp + 0x2f]
mov byte [esp + 0x2f], bl
call fcn.1001ecd5
pop ecx
xor cl, cl
call fcn.1001e922
mov cl, byte [edi + esi]
mov dl, 0x1b
call fcn.1002780b
mov byte [edi + esi], al
inc edi
cmp edi, 2
jb 0x10021b64
push 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x18], ebx
pop esi
jmp 0x10021c39
mov dword [esp + 0x10], ebx
jmp 0x10021bbe
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xa8], 0xb72fd491
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10021bab
mov dword [esp + 0x10], ebx
jmp 0x10021bdb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x44], 0xb7cefa9d
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10021bcb
cmp dword [esp + 0x14], ebx
jne 0x10021c44
mov dword [esp + 0x48], ebx
jmp 0x10021c2f
mov dword [esp + 0x18], ebx
jmp 0x10021c00
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x38], esi
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jl 0x10021bf4
mov dword [esp + 0x38], esi
cmp dword [esp + 0x38], ebx
jl 0x10021c2b
mov byte [esp + 0x2a], bl
lea edx, [esp + 0x2a]
push 0xf3c
xor cl, cl
call fcn.100226e8
dec dword [esp + 0x3c]
pop ecx
jns 0x10021c10
inc dword [esp + 0x48]
cmp dword [esp + 0x48], esi
jle 0x10021bee
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jge 0x10021ba5
mov ecx, dword [ebp + 0xc]
mov ax, word [esp + 0x50]
mov word [ecx], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret