Function at 0x1002100f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a602
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x32c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x58], 0xf0ed1ad6
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x160], 0xd7d711e7
mov dword [ebp - 0x19c], 0xfffffffe
push 2
lea ecx, [ebp - 0x240]
call fcn.1000e2bc
and dword [ebp - 4], 0
mov dword [ebp - 0x218], 0x73196e86
mov dword [ebp - 0x34], 0
jmp 0x10021084
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002109a
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xb8], 6
jmp 0x1002107d
mov dword [ebp - 0x34], 0
jmp 0x100210aa
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100210c6
push dword [ebp - 0x34]
lea ecx, [ebp - 0x240]
call fcn.1000e35b
mov dword [eax], 0x2fc257a1
jmp 0x100210a3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xb8], 0
je 0x100210da
cmp dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp + eax - 0xb8]
jle 0x100210f0
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x100], 0x60f7
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x19c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xb8]
imul ecx, dword [ebp + eax - 0xb8]
cmp dword [ebp - 0x19c], ecx
jge 0x10021141
mov dword [ebp - 0x1a4], 1
jmp 0x10021148
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1a4], eax
je 0x10021165
cmp dword [ebp - 0x100], 0
jne 0x10021165
and dword [ebp - 0x1bc], 0
jmp 0x1002116f
mov dword [ebp - 0x1bc], 1
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1bc], eax
jge 0x10021186
mov dword [ebp - 0x118], 1
jmp 0x1002118d
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x118], eax
jge 0x100211a7
cmp dword [ebp - 0x58], 0
jne 0x100211a7
and dword [ebp - 0x194], 0
jmp 0x100211b1
mov dword [ebp - 0x194], 1
push 0
lea ecx, [ebp - 0x240]
call fcn.1000e35b
mov ecx, dword [ebp - 0x194]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x240]
call fcn.1000e35b
mov eax, dword [eax]
mov dword [ebp - 0x218], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.1000e33f
cmp dword [ebp + 0x10], 0
jbe 0x10021392
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021392
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x120], 0x3f7e813a
mov dword [ebp - 0xec], 0
jmp 0x1002122a
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 1
jge 0x10021243
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x68], 0xdd33
jmp 0x1002121d
mov dword [ebp - 0x40], 0
jmp 0x10021253
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1002137e
mov dword [ebp - 0x1d8], 0xffffffff
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax*4 - 0x68], 0xa0a5
jne 0x10021280
mov dword [ebp - 0x1a8], 1
jmp 0x10021287
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x100212b5
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x68], 0
je 0x100212b5
mov dword [ebp - 0x170], 1
jmp 0x100212bc
and dword [ebp - 0x170], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x68]
cmp dword [ebp - 0x170], eax
jl 0x100212da
mov dword [ebp - 0x128], 1
jmp 0x100212e1
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x68]
cmp dword [ebp - 0x128], eax
jge 0x100212fc
mov dword [ebp - 0x198], 1
jmp 0x10021303
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x68]
imul eax, dword [ebp - 0x198]
cmp eax, 0x6c38
jle 0x10021324
mov dword [ebp - 0x130], 1
jmp 0x1002132b
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x68]
cmp eax, dword [ebp - 0x130]
je 0x10021346
mov dword [ebp - 0x178], 1
jmp 0x1002134d
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0
jge 0x10021362
mov dword [ebp - 0x138], 1
jmp 0x10021369
and dword [ebp - 0x138], 0
imul eax, dword [ebp - 0x138], 0x8c9f
mov dword [ebp - 0x1d8], eax
jmp 0x1002124c
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1001aa1a
pop ecx
pop ecx
jmp 0x10022761
mov dword [ebp - 0x294], 0xfffffffe
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x100213b2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x100213ce
push 0x1455
push 0x23ce
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0x10], 0
jne 0x10021d9d
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10016a2f
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x140], 0x4fab
mov dword [ebp - 0x1e0], str.ovvcpqy_ajlbsha_mzaptyy_gandkc
cmp dword [ebp - 0x140], 0x5255
jle 0x100214e9
and dword [ebp - 0xd8], 0
jmp 0x10021423
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x4a06
jge 0x100214e9
and dword [ebp - 0xc0], 0
jmp 0x10021449
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x3bf0
jge 0x100214e4
and dword [ebp - 0xf4], 0
jmp 0x1002146f
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x65e0
jge 0x100214df
and dword [ebp - 0xfc], 0
jmp 0x10021491
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x979
jge 0x100214dd
mov eax, dword [ebp - 0xf4]
cdq
idiv dword [ebp - 0xfc]
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xc0]
and eax, edx
cdq
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], edx
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
mov ecx, 0x10075878
call fcn.1000dfeb
jmp 0x10021484
jmp 0x10021462
jmp 0x1002143c
jmp 0x10021416
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x2a0], 0x1e1e87df
mov dword [ebp - 0x27c], 0xffffffff
mov dword [ebp - 0x29c], 4
mov dword [ebp - 0x284], 0x1fc3eee
mov dword [ebp - 0x1c0], 0x6890c544
mov dword [ebp - 0x30], 0
jmp 0x10021535
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1002154b
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x30c], 0xef7d6512
jmp 0x1002152e
mov dword [ebp - 0x30], 0
jmp 0x1002155b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x10021571
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x290], 0xffffffff
jmp 0x10021554
mov eax, dword [ebp - 0x1c0]
dec eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x140], 0x4c85
jge 0x100215a1
mov edx, dword [ebp - 0x1e0]
mov ecx, 0x10075878
call fcn.10010d3e
jmp 0x100215bd
or dword [ebp - 4], 0xffffffff
jmp 0x100215c7
cmp dword [0x10077be8], 0
jne 0x10021a7f
mov dword [ebp - 0x200], 0x14b7b
lea eax, [ebp - 0x200]
push eax
call fcn.1001a9eb
pop ecx
mov dword [ebp - 0x180], eax
mov byte [ebp - 0x98], 6
mov byte [ebp - 0x97], 0xe3
mov byte [ebp - 0x96], 0xa
mov byte [ebp - 0x95], 0x36
mov byte [ebp - 0x94], 1
mov byte [ebp - 0x93], 0x20
mov byte [ebp - 0x92], 9
mov byte [ebp - 0x91], 0xb
mov byte [ebp - 0x90], 0xc
mov byte [ebp - 0x8f], 0x39
mov byte [ebp - 0x8e], 3
mov byte [ebp - 0x8d], 1
mov byte [ebp - 0x8c], 2
mov byte [ebp - 0x8b], 0x22
mov byte [ebp - 0x8a], 2
mov byte [ebp - 0x89], 8
mov byte [ebp - 0x88], 0xba
mov byte [ebp - 0x87], 5
mov byte [ebp - 0x86], 6
mov byte [ebp - 0x85], 0xb
mov byte [ebp - 0x84], 0xa
mov byte [ebp - 0x83], 0
mov byte [ebp - 0x82], 0x3f
mov byte [ebp - 0x81], 4
mov byte [ebp - 0x80], 0x22
mov byte [ebp - 0x7f], 7
mov byte [ebp - 0x7e], 0xc
mov byte [ebp - 0x7d], 8
mov byte [ebp - 0x7c], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
and eax, 0x90
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
or ecx, 0x90
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x22c], cl
mov dword [ebp - 0x14], 2
and dword [ebp - 0xe8], 0
jmp 0x10021703
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1d
jae 0x100217b9
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1002174d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x98]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x98]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x100216fb
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xe8]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x22c]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x97]
and ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xe8]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x22c]
mov edx, dword [ebp - 0x14]
movzx edx, byte [ebp + edx - 0x97]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x22c], dl
and dword [ebp - 0xe8], 0
jmp 0x100216fb
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x324]
call fcn.10026823
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x20c]
call fcn.10016a2f
mov dword [0x10077be8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.1000e229
and dword [ebp - 0xc8], 0
jmp 0x1002182d
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xe
jae 0x10021846
mov eax, dword [ebp - 0xc8]
mov byte [ebp + eax - 0x22c], 0
jmp 0x10021820
mov byte [ebp - 0xb4], 0xc
mov byte [ebp - 0xb3], 0x42
mov byte [ebp - 0xb2], 2
mov byte [ebp - 0xb1], 0x16
mov byte [ebp - 0xb0], 5
mov byte [ebp - 0xaf], 0
mov byte [ebp - 0xae], 0xd
mov byte [ebp - 0xad], 0x32
mov byte [ebp - 0xac], 1
mov byte [ebp - 0xab], 0x25
mov byte [ebp - 0xaa], 0xa
mov byte [ebp - 0xa9], 0x17
mov byte [ebp - 0xa8], 6
mov byte [ebp - 0xa7], 0x35
mov byte [ebp - 0xa6], 0xb
mov byte [ebp - 0xa5], 0x23
mov byte [ebp - 0xa4], 3
mov byte [ebp - 0xa3], 0x12
mov byte [ebp - 0xa2], 0
mov byte [ebp - 0xa1], 0x22
mov byte [ebp - 0xa0], 4
mov byte [ebp - 0x9f], 0x37
mov byte [ebp - 0x9e], 9
mov byte [ebp - 0x9d], 0x17
mov byte [ebp - 0x9c], 8
mov byte [ebp - 0x9b], 0xc
mov byte [ebp - 0x9a], 7
mov byte [ebp - 0x99], 0x1d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xb4]
and eax, 0x31
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xb4]
or ecx, 0x31
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xb4]
mov byte [ebp + eax - 0x1d0], cl
mov dword [ebp - 0x20], 2
and dword [ebp - 0x10c], 0
jmp 0x1002195b
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1c
jae 0x100219f2
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10c]
movzx eax, byte [ebp + eax - 0xb6]
movsx eax, byte [ebp + eax - 0x1d0]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0xb3]
and ecx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10c]
movzx eax, byte [ebp + eax - 0xb6]
movsx eax, byte [ebp + eax - 0x1d0]
mov edx, dword [ebp - 0x20]
movzx edx, byte [ebp + edx - 0xb3]
and edx, eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x10c]
movzx eax, byte [ebp + eax - 0xb6]
movsx eax, byte [ebp + eax - 0x1d0]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp + esi - 0xb3]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0xb4]
mov byte [ebp + eax - 0x1d0], bl
jmp 0x10021953
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1d0], 0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x33c]
call fcn.10026823
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x1d4]
call fcn.10016a2f
mov dword [0x10077d2c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
call fcn.1000e229
and dword [ebp - 0xd4], 0
jmp 0x10021a66
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0xf
jae 0x10021a7f
mov eax, dword [ebp - 0xd4]
mov byte [ebp + eax - 0x1d0], 0
jmp 0x10021a59
push 4
lea ecx, [ebp - 0x1b4]
call fcn.1000e2bc
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], 0xfffffff8
mov dword [ebp - 0x38], 0
jmp 0x10021aaa
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x10021ac6
push dword [ebp - 0x38]
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
mov dword [eax], 0xfffffffb
jmp 0x10021aa3
mov dword [ebp - 0x38], 0
jmp 0x10021ad6
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10021ae9
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x78], 1
jmp 0x10021acf
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x78]
push 3
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
cmp dword [eax], esi
jle 0x10021b10
mov dword [ebp - 0x21c], 1
jmp 0x10021b17
and dword [ebp - 0x21c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78]
mov dword [ebp - 0x28c], eax
push 2
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
mov dword [ebp - 0x26c], eax
push 2
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x78]
cmp ecx, dword [ebp + eax - 0x78]
jl 0x10021b73
mov dword [ebp - 0x148], 1
jmp 0x10021b7a
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0
jae 0x10021b8f
mov dword [ebp - 0x1a0], 1
jmp 0x10021b96
and dword [ebp - 0x1a0], 0
push 2
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
mov ecx, dword [ebp - 0x1a0]
cmp ecx, dword [eax]
jle 0x10021bc3
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x78], 0
jne 0x10021bc3
and dword [ebp - 0x150], 0
jmp 0x10021bcd
mov dword [ebp - 0x150], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78]
cmp dword [ebp - 0x150], eax
jne 0x10021beb
mov dword [ebp - 0x188], 1
jmp 0x10021bf2
and dword [ebp - 0x188], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
cmp dword [ebp - 0x188], eax
jle 0x10021c10
mov dword [ebp - 0x158], 1
jmp 0x10021c17
and dword [ebp - 0x158], 0
push 0
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [eax]
jne 0x10021c47
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x78], 0
je 0x10021c47
mov dword [ebp - 0x1b8], 1
jmp 0x10021c4e
and dword [ebp - 0x1b8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1b8]
sub ecx, 0x7582
cmp ecx, dword [ebp + eax - 0x78]
je 0x10021c72
mov dword [ebp - 0x110], 1
jmp 0x10021c79
and dword [ebp - 0x110], 0
push 2
lea ecx, [ebp - 0x1b4]
call fcn.1000e35b
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x110]
jl 0x10021ca2
mov dword [ebp - 0x190], 1
jmp 0x10021ca9
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0x9102
jl 0x10021cef
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x10021cc9
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov dword [ebp - 0x3c], 1
jmp 0x10021cd9
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10021ced
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x78], 0
je 0x10021ceb
jmp 0x10021ced
jmp 0x10021cd2
jmp 0x10021d5c
push 2
lea ecx, [ebp - 0x264]
call fcn.1000e2bc
mov byte [ebp - 4], 6
mov dword [ebp - 0xd0], 0
jmp 0x10021d19
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x10021d3b
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x264]
call fcn.1000e35b
mov dword [eax], 0xfffffffe
jmp 0x10021d0c
push 1
lea ecx, [ebp - 0x264]
call fcn.1000e35b
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.1000e33f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.1000e33f
mov eax, dword [0x10077be8]
cmp eax, dword [ebp - 0xf0]
je 0x10021d85
mov eax, dword [0x10077d2c]
cmp eax, dword [ebp - 0xf0]
jne 0x10021d9d
mov ecx, dword [ebp + 0xc]
call fcn.1000dfcb
push eax
push dword [ebp + 8]
call fcn.1001aa1a
pop ecx
pop ecx
jmp 0x10022761
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x134], 0x948708ef
mov dword [ebp - 0x1f0], 0x9729cf30
mov dword [ebp - 0x13c], 0x6cc9ca31
mov dword [ebp - 0x230], 0x56123d4a
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x10021ee8
mov dword [ebp - 0x168], 0x887
mov dword [ebp - 0x1e4], str.jrqty_hmdfjgnta_sirf_qfq_tmodqya_oniwaqbu_yjgw_deziwqxwa_adslt_tihyjsm_xlqsu_efoi_qhwnui_wfhup
cmp dword [ebp - 0x168], 0x9c1
jle 0x10021e8d
push 0
push 0
push 0x24c1
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
and dword [ebp - 0xdc], 0
jmp 0x10021e2c
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x30bf
jge 0x10021e8d
and dword [ebp - 0xe4], 0
jmp 0x10021e4e
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x754f
jge 0x10021e8b
mov eax, dword [ebp - 0xdc]
and eax, dword [ebp - 0xe4]
cdq
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 0x1f4], edx
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
mov ecx, 0x10075878
call fcn.1000dfeb
jmp 0x10021e41
jmp 0x10021e1f
push 0
push 0x1b32
push 0x16f4
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 4], 7
cmp dword [ebp - 0x168], 0x53e
jge 0x10021ec2
mov edx, dword [ebp - 0x1e4]
mov ecx, 0x10075878
call fcn.10010d3e
jmp 0x10021ede
or dword [ebp - 4], 0xffffffff
jmp 0x10021ee8
mov dword [ebp - 0xf8], 0xa
jmp 0x10021f01
mov eax, dword [ebp - 0xf8]
dec eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0xffffffe8
jge 0x10021fbc
mov dword [ebp - 0x114], 0x7a61eefb
mov dword [ebp - 0x11c], 0x6e74e800
cmp dword [ebp - 0x114], 1
jge 0x10021f37
mov dword [ebp - 0x214], 1
jmp 0x10021f3e
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x11c]
jle 0x10021f70
mov dword [ebp - 0x124], 1
jmp 0x10021f77
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x1f0]
cmp eax, dword [ebp - 0x124]
jne 0x10021f91
mov dword [ebp - 0x12c], 1
jmp 0x10021f98
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
add eax, 0x55f7134d
mov ecx, dword [ebp - 0x134]
sub ecx, eax
add ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x230], ecx
jmp 0x10021ef4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x1002255f
mov eax, dword [ebp - 0xe0]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1002255f
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe0]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0x4550
jne 0x1002255f
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x74], 0
jbe 0x1002255f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + eax + 0x78], 0
je 0x1002255f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x64]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x48], edx
mov eax, 0xffff
mov word [ebp - 0x2c], ax
or dword [ebp - 0x6c], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1002206c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10022067
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x2c], ax
jmp 0x10022208
mov eax, dword [0x10077cc8]
and eax, 1
jne 0x100220a3
mov eax, dword [0x10077cc8]
or eax, 1
mov dword [0x10077cc8], eax
mov dword [ebp - 4], 9
mov ecx, 0x10077cd0
call fcn.1000e381
push 0x1005b345
call fcn.10041519
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x10077bfc]
test eax, eax
je 0x1002210c
mov ecx, 0x10077cd0
call fcn.100268af
movzx eax, al
test eax, eax
jne 0x1002210c
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x10077cd0
call fcn.1000e446
lea eax, [ebp - 0x280]
push eax
mov ecx, 0x10077cd0
call fcn.1000e438
push eax
lea ecx, [ebp - 0x144]
call fcn.1000e45b
movzx eax, al
test eax, eax
je 0x1002210c
lea ecx, [ebp - 0x144]
call fcn.100268b8
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x10022208
mov ecx, 0x10077cd0
call fcn.100268fc
mov ecx, dword [ebp - 0x48]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10077cd0
call fcn.10026900
and dword [ebp - 0x60], 0
jmp 0x1002213e
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax + 0x18]
jae 0x10022208
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x60]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x10022203
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x300]
call fcn.10026823
mov dword [ebp - 4], 0xa
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x300]
call fcn.10016a2f
mov dword [ebp - 0x154], eax
movzx eax, byte [0x10077bfc]
test eax, eax
je 0x100221bd
mov ecx, 0x10077cd0
call fcn.100268af
movzx eax, al
test eax, eax
jne 0x100221da
lea eax, [ebp - 0x154]
push eax
mov ecx, 0x10077cd0
call fcn.100268be
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov byte [0x10077bfc], 1
cmp dword [ebp - 0x6c], 0xffffffff
jne 0x100221f4
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0xf0]
jne 0x100221f4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
call fcn.1000e229
jmp 0x10022137
cmp dword [ebp + 0x10], 0
jne 0x10022228
cmp dword [ebp - 0x6c], 0xffffffff
je 0x10022228
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x6c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x2c], ax
movzx eax, word [ebp - 0x2c]
cmp eax, 0xffff
je 0x1002255f
movzx eax, word [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x64]
add edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jbe 0x10022557
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x48]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x44], edx
jae 0x10022557
mov eax, dword [0x10077cc8]
and eax, 2
jne 0x100222b2
mov eax, dword [0x10077cc8]
or eax, 2
mov dword [0x10077cc8], eax
mov dword [ebp - 4], 0xb
push 0x125d3
call fcn.1000460a
pop ecx
mov byte [0x10077d78], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x28], 2
mov byte [ebp - 0x27], 0x58
mov byte [ebp - 0x26], 1
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x23], 8
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x28]
and eax, 0x34
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x28]
or ecx, 0x34
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x28]
mov byte [ebp + eax - 0x50], cl
mov dword [ebp - 0x18], 2
and dword [ebp - 0x108], 0
jmp 0x1002230f
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jae 0x1002237e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x108]
movzx eax, byte [ebp + eax - 0x2a]
movsx eax, byte [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x27]
and ecx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x108]
movzx eax, byte [ebp + eax - 0x2a]
movsx eax, byte [ebp + eax - 0x50]
mov edx, dword [ebp - 0x18]
movzx edx, byte [ebp + edx - 0x27]
and edx, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x108]
movzx eax, byte [ebp + eax - 0x2a]
movsx eax, byte [ebp + eax - 0x50]
mov esi, dword [ebp - 0x18]
movzx ebx, byte [ebp + esi - 0x27]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x28]
mov byte [ebp + eax - 0x50], bl
jmp 0x10022307
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x50], 0
mov eax, dword [0x10077cc8]
and eax, 4
jne 0x100223c4
mov eax, dword [0x10077cc8]
or eax, 4
mov dword [0x10077cc8], eax
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x10077d14
call fcn.10026823
push 0x1005b336
call fcn.10041519
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0xbc], 0
jmp 0x100223da
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 4
jae 0x100223f0
mov eax, dword [ebp - 0xbc]
mov byte [ebp + eax - 0x50], 0
jmp 0x100223cd
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
movsx eax, byte [0x10077d78]
mov ecx, dword [ebp - 0x4c]
movsx ecx, byte [ecx]
cmp ecx, eax
je 0x10022410
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
jmp 0x100223f6
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x2b8]
call fcn.10026f5c
mov dword [ebp - 4], 0xd
push 0x10077d14
lea ecx, [ebp - 0x2b8]
call fcn.10026852
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.1000ed85
push dword [eax]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.1000ed71
push dword [eax]
lea ecx, [ebp - 0x2e8]
call fcn.10026f85
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2e8]
push eax
call fcn.100181a6
pop ecx
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x10022506
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x2d0]
call fcn.10026823
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x2d0]
call fcn.10016b4b
movzx eax, al
test eax, eax
je 0x100224d9
push 0
push dword [ebp - 0x208]
push 0
push dword [ebp - 0x104]
call fcn.1002100f
add esp, 0x10
mov dword [ebp - 0x44], eax
jmp 0x100224f5
push 1
push 0
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x104]
call fcn.1002100f
add esp, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2d0]
call fcn.1000e229
jmp 0x10022539
cmp dword [ebp + 0x10], 0
jne 0x1002251c
mov ecx, dword [ebp + 0xc]
call fcn.1000dfcb
mov dword [ebp - 0x15c], eax
jmp 0x10022526
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x15c]
push dword [ebp + 8]
call fcn.1001aa1a
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2e8]
call fcn.1000e160
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b8]
call fcn.1000e229
mov eax, dword [ebp - 0x44]
jmp 0x10022761
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x210], 1
mov dword [ebp - 0xc4], 0
jmp 0x10022589
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x100225a5
mov eax, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x24c], 1
jmp 0x1002257c
mov dword [ebp - 0x1c], 0xe0648261
mov dword [ebp - 0x1c], 2
jmp 0x100225bc
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002275f
mov dword [ebp - 0xcc], 0
jmp 0x100225df
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 3
jge 0x100225fb
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x258], 0x887cf2e5
jmp 0x100225d2
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x258], 0
jmp 0x10022629
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x258]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x258], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x258], 2
jg 0x1002275a
mov dword [ebp - 0x16c], 0x7a5e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x298], eax
xor eax, eax
inc eax
je 0x1002266e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x24c], 0
je 0x1002266e
and dword [ebp - 0x164], 0
jmp 0x10022678
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x16c]
add eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp + ecx*4 - 0x24c], eax
jle 0x100226a0
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x100226a0
and dword [ebp - 0x204], 0
jmp 0x100226aa
mov dword [ebp - 0x204], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x278], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x24c], 0xc5530c4e
jae 0x100226d1
mov dword [ebp - 0x174], 1
jmp 0x100226d8
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x16c]
imul eax, dword [ebp - 0x174]
cmp eax, 1
je 0x100226ff
mov eax, 0xfd77ccca
test eax, eax
je 0x100226ff
mov dword [ebp - 0x17c], 1
jmp 0x10022706
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x24c]
cmp eax, dword [ebp - 0x17c]
jg 0x10022724
mov dword [ebp - 0x184], 1
jmp 0x1002272b
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x184], eax
jle 0x10022742
mov dword [ebp - 0x18c], 1
jmp 0x10022749
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x210], eax
jmp 0x1002260e
jmp 0x100225b5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret