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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10061c33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0x1c], ebx
mov edi, ecx
je 0x1001d943
cmp byte [ebp + 0x24], 0
je 0x1001d8b9
mov dword [esp + 0x10], 0x7ca
cmp dword [esp + 0x10], 0x974
push 1
pop edi
jle 0x1001d84a
xor ebx, ebx
mov esi, ebx
mov ecx, ebx
mov dword [esp + 0xc], ebx
mov eax, esi
sar eax, cl
lea ecx, [esp + 0x78]
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001d817
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push ebx
push edi
lea ecx, [esp + 0x80]
call fcn.10014850
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x10d6
jl 0x1001d7fd
inc esi
cmp esi, 0x22a1
jl 0x1001d7f7
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0x637
jge 0x1001d85f
push str.cswheltn_ssktaoyj_rmcusv
call fcn.1004a753
pop ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x38]
mov dword [eax], 0xe5f5
mov eax, dword [edx]
mov eax, dword [ecx]
mov esi, dword [edx]
xor edx, edx
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
cmp ecx, eax
mov eax, dword [ebx]
setge dl
mov dword [eax + esi*4], edx
xor edx, edx
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
cmp eax, edi
mov eax, dword [ebp + 8]
setne dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [esi]
setne cl
xor edx, edx
cmp ecx, eax
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
setle dl
imul ecx, edx
neg ecx
mov dword [eax], ecx
jmp 0x1001dcb2
mov esi, dword [ebp + 0x28]
mov dword [esi], 0xffffffe4
cmp dword [esi], 0x3c
jle 0x1001dcb2
xor ebx, ebx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x10], 0xa26275f9
mov dword [esp + 0x10], 5
mov dword [esp + 0x10], 0xd593b88a
mov dword [esp + 0x10], 0xd6aeab66
mov dword [esp + 0x10], 0xc9f93b76
mov dword [esp + 0x10], 9
mov dword [esp + 0x10], 0xfffffff9
mov dword [esp + 0x10], 0x3a0dcb3d
mov dword [esp + 0x10], 0xfffffff9
mov eax, dword [esp + 0x1c]
cmp eax, 9
mov eax, dword [ebp + 0x30]
setl dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
setge cl
mov dword [edi], ecx
dec dword [esp + 0x10]
inc dword [esi]
cmp dword [esi], 0x3c
jg 0x1001d8cd
jmp 0x1001dcb2
cmp byte [ebp + 0x14], 0
je 0x1001d960
push 0x1f1f
push 0xf4b
push 0x71
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x1001dcb2
mov esi, dword [ebp + 0x20]
xor ebx, ebx
push 0x5783
push ebx
mov dword [esp + 0x2c], esi
call fcn.1001a237
pop ecx
pop ecx
push 2
pop edi
push edi
lea ecx, [esp + 0x44]
call fcn.100021e9
lea eax, [esp + 0x40]
mov dword [esp + 0xb4], edi
push eax
mov dword [esp + 0x10], 0xffffffff
lea edx, [esp + 0x18]
push ebx
mov ecx, 0x19a9
call fcn.1001cda6
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
jmp 0x1001d9be
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x30], 0x4288a137
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1001d9ae
mov dword [esp + 0x14], ebx
jmp 0x1001d9da
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x38], 0x9cb6
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1001d9ca
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
add eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], ebx
je 0x1001da07
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp dword [edx + 4], eax
setge cl
imul edx, ecx, 0xfffffff6
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
sub eax, ecx
cmp eax, edx
je 0x1001dadd
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x1001da56
push 0x30e1
push 0x2a65
push ebx
push 1
push 0x1a9f
mov edx, 0x7564
mov cl, 1
call fcn.1001ecdf
add esp, 0x14
mov dword [esp + 0xc], ebx
jmp 0x1001da71
push ecx
push 0x68fd
push ecx
xor cl, cl
call fcn.1001d1ce
add esp, 0xc
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 8
jne 0x1001da5c
xor edi, edi
inc edi
or dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.10002246
movzx eax, word [esi]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x1c], 0x8ade19d2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], 0xf37d45db
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
push edi
call fcn.100021e9
mov dword [esp + 0xb4], 5
mov dword [esp + 0xc], ebx
jmp 0x1001db94
xor edi, edi
inc edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0xc], ebx
jl 0x1001daf7
push ecx
call fcn.1001c5bf
dec dword [esp + 0x10]
pop ecx
jns 0x1001daea
mov dword [esp + 0xc], 0x6463
cmp dword [esp + 0xc], 0x65f3
jle 0x1001db60
mov esi, ebx
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov eax, esi
sar eax, cl
lea ecx, [esp + 0x90]
cdq
push edx
push eax
call fcn.10002bac
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001db2e
mov eax, dword [eax]
push eax
call fcn.1004a753
pop ecx
push ebx
push edi
lea ecx, [esp + 0x98]
call fcn.10014850
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x7d69
jl 0x1001db11
inc esi
cmp esi, 0x15b4
jl 0x1001db0b
mov esi, dword [ebp + 0x20]
push ecx
call fcn.1001d030
cmp dword [esp + 0x10], 0x624a
pop ecx
jge 0x1001da7b
push str.ossvbaiz_dlomqqapo_ygzmipwi_xnbfk
call fcn.1004a753
pop ecx
jmp 0x1001da7b
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1001db85
mov eax, dword [esp + 0x4c]
xor dl, dl
push 0x3f73
push ecx
push ecx
dec dword [eax]
call fcn.1001a631
or dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x58]
add esp, 0xc
call fcn.10002246
lea eax, [esp + 0x24]
xor dl, dl
push eax
push 0x7750
push 0x2f90
push ebx
push edi
lea ecx, [esp + 0x3c]
call fcn.1001e0c8
add esp, 0x14
xor dl, dl
mov ecx, 0x2a6b
push 0x5d61
push ebx
call fcn.1001aee4
mov eax, dword [esp + 0x2c]
mov esi, ebx
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0x2bea
lea ecx, [esp + 0x58]
push 2
call fcn.100021e9
lea eax, [esp + 0x74]
mov dword [esp + 0xb4], 6
push eax
push 0x1ce7
push 0x4b77
lea eax, [esp + 0x64]
mov edx, 0x393
push eax
push ebx
push edi
mov ecx, 0x5795
call fcn.10019e47
add esp, 0x18
mov byte [esp + 0x1b], bl
lea eax, [esp + 0x1b]
mov edx, 0x7510
push ebx
push 0x3feb
push 0xe98
push ecx
push eax
push ecx
call fcn.1001abba
pop ecx
pop ecx
lea edx, [esp + 0x68]
lea ecx, [esp + 0x3c]
call fcn.1001c5e7
or dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x68]
add esp, 0x10
call fcn.10002246
mov eax, dword [esp + 0x10]
mov dl, 0x2b
mov cl, byte [esi + eax]
call fcn.10023bf4
mov ecx, dword [esp + 0x10]
mov byte [esi + ecx], al
inc esi
cmp esi, 2
jb 0x1001dbff
mov ecx, dword [ebp + 0x2c]
mov ax, word [esp + 0x28]
mov word [ecx], ax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret