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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10065b01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], edi
je 0x10034370
cmp byte [ebp + 0x14], 0
je 0x10034347
mov edx, dword [ebp + 0x20]
mov dword [edx], 0
cmp dword [edx], 4
jge 0x10034c0a
mov esi, dword [ebp + 0x24]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x321a0783
inc dword [edx]
cmp dword [edx], 4
jl 0x10034330
jmp 0x10034c0a
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ecx], ebx
cmp dword [ecx], 8
jne 0x10034c0a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax], ebx
jne 0x10034c0a
inc dword [ecx]
cmp dword [ecx], 8
je 0x1003435a
jmp 0x10034c0a
cmp byte [ebp + 0x1c], 0
je 0x10034387
mov eax, dword [ebp + 0x18]
mov ecx, edx
push dword [eax]
call fcn.1000b9cc
jmp 0x10034c0a
mov eax, 0x8ade19d2
xor ebx, ebx
mov dword [esp + 0x40], eax
xor ecx, ecx
mov dword [esp + 0x44], eax
inc ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], ebx
jmp 0x100343bb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x2c], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x100343af
push ecx
lea eax, [esp + 0x2a]
mov byte [esp + 0x2a], bl
push eax
push ecx
mov edx, 0x6bf3
xor cl, cl
call fcn.100364a8
add esp, 0xc
mov dword [esp + 0x48], ebx
jmp 0x10034474
mov dword [esp + 0x10], 0xfffffffc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0xfb5d1cb6
mov dword [esp + 0x10], ebx
jmp 0x1003446a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x48]
mov dword [esp + eax*4 + 0x2c], ecx
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov eax, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov eax, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + eax*4 + 0x2c]
mov eax, dword [esp + 0x10]
cmp eax, 0xfffffff9
mov eax, dword [esp + 0x20]
setle cl
xor edx, edx
sub esi, ecx
cmp esi, eax
mov eax, dword [esp + 0x40]
sete dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x100343fe
inc dword [esp + 0x48]
cmp dword [esp + 0x48], ebx
jle 0x100343e4
xor eax, eax
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], ax
lea eax, [ebp + 0x28]
mov dword [esp + 0x114], ebx
push eax
push 0x2b6f
push 0xafa
lea edx, [esp + 0xb8]
xor cl, cl
call fcn.10036823
mov eax, dword [0x100854b8]
add esp, 0xc
test al, 1
jne 0x100344f1
or eax, 1
mov dword [0x100854b8], eax
push 0x1184
mov byte [esp + 0x118], 1
call fcn.10045104
pop ecx
mov word [0x100854a8], ax
mov byte [esp + 0x114], bl
xor esi, esi
inc esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1003466e
mov dword [esp + 0x1c], 0xfa814b11
mov dword [esp + 0x20], 0xfffffffb
mov dword [esp + 0x18], ebx
jmp 0x1003452f
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x38], 0x39beb064
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003451f
mov dword [esp + 0x3c], ebx
jmp 0x1003465b
push dword [esp + 0x50]
movdqa xmm0, xmmword [0x10073990]
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x88], ebx
push eax
push ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0x94], ebx
movdqu xmmword [esp + 0xd8], xmm0
mov dword [esp + 0x98], ebx
call fcn.1000dfe5
mov dword [esp + 0x18], 0xa0627e80
mov dword [esp + 0x18], 0xed23c5ad
mov dword [esp + 0x18], ebx
jmp 0x100345af
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x98], 0xfffffff9
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1003459c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], ebx
jne 0x100345f1
mov eax, dword [esp + 0x3c]
mov ecx, 0x8e5faece
sub ecx, eax
mov eax, dword [esp + 0x9c]
sub ecx, eax
mov eax, dword [esp + 0x3c]
push 0
pop edx
sets dl
xor ecx, ecx
cmp edx, eax
mov eax, ebx
setg cl
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x1c], ebx
je 0x100345f3
mov eax, esi
cmp eax, 7
mov eax, dword [esp + 0x3c]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0x80]
setge dl
mov dword [eax + 4], edx
xor edx, edx
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x9c]
cmp eax, 0x7440271d
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp eax, 6
setne cl
xor eax, eax
cmp ecx, edx
lea ecx, [esp + 0x80]
setle al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
call fcn.1000ba88
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], 0x10
jle 0x1003453f
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffe5
jg 0x10034509
mov eax, dword [0x100854b8]
test al, 2
jne 0x100346aa
or eax, 2
mov dword [0x100854b8], eax
push 0x10fd
mov byte [esp + 0x118], 2
call fcn.10045104
pop ecx
mov word [0x100840fc], ax
mov byte [esp + 0x114], bl
push 3
lea ecx, [esp + 0x68]
call fcn.1000ba05
mov byte [esp + 0x114], 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0xce5aba8d
mov dword [esp + 0x10], ebx
jmp 0x100346e2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov dword [eax + ecx*4], 0xfdf99ff6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100346cf
mov dword [esp + 0x10], ebx
jmp 0x100346fb
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x54], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x100346ef
push 2
pop edx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x60], ebx
jl 0x10034887
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0xfffffff8
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], edx
jg 0x1003487d
mov dword [esp + 0x14], 0x22b60780
mov dword [esp + 0x18], ebx
jmp 0x1003474e
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x30], ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edx
jl 0x10034742
push 0x6ee7
push ecx
lea eax, [esp + 0x2f]
mov byte [esp + 0x2f], bl
push eax
push 0x7af3
push ecx
call fcn.10033edd
add esp, 0x14
push 2
pop edx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x30], ebx
jl 0x1003486c
mov dword [esp + 0x14], ebx
xor edx, edx
mov ecx, dword [esp + 0x60]
mov esi, 0xf6f97812
mov eax, dword [esp + 0x64]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + eax*4]
cmp eax, dword [ecx]
setl dl
xor eax, eax
cmp edx, 1
setle al
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x20], eax
setge cl
xor edx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp eax, 0x806aa1c3
setne dl
imul edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
dec edx
neg edx
sbb edx, edx
sub esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x60]
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0x30]
setg cl
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, eax
mov eax, dword [esp + 0x34]
cmp ecx, eax
setl dl
xor eax, eax
cmp esi, edx
setl al
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp dword [ecx + eax*4], ebx
sete dl
xor eax, eax
cmp edx, dword [ecx + esi*4]
setne al
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
add edx, dword [eax + ecx*4]
xor ecx, ecx
mov eax, dword [esp + 0x30]
cmp edx, eax
setle cl
neg ecx
mov dword [esp + 0x20], ecx
dec dword [esp + 0x30]
jns 0x10034782
push 2
pop edx
inc dword [esp + 0x10]
push 1
pop ecx
cmp dword [esp + 0x10], edx
jle 0x10034734
dec dword [esp + 0x60]
jns 0x10034716
lea ecx, [esp + 0x64]
mov byte [esp + 0x114], bl
call fcn.1000ba88
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x20], esi
test esi, esi
je 0x10034bcf
push 2
lea ecx, [esp + 0xa4]
call fcn.1000ba05
mov byte [esp + 0x114], 4
mov dword [esp + 0x18], 0xdc4
cmp dword [esp + 0x18], 0x10eb
jle 0x10034944
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x576c
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0xd8]
or eax, edi
cdq
push edx
push eax
call fcn.10001aa5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100348ff
mov eax, dword [eax]
push eax
call fcn.1004c12c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xe0]
call fcn.1000bdc4
inc edi
cmp edi, 0x395e
jl 0x100348e2
dec esi
dec dword [esp + 0x14]
jne 0x100348e0
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x6522
jl 0x100348d4
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
lea eax, [esp + 0xa0]
mov cl, 1
push eax
lea eax, [esp + 0x2c]
push eax
push 0x7d2d
call fcn.10033e20
add esp, 0xc
cmp dword [esp + 0x18], 0xa5b
jge 0x10034975
push str.gftyyw_abyxaa_eiakrg_zopsjijhr_sfrpnbssm_rbq_qwwshb
call fcn.1004c12c
pop ecx
mov dword [esp + 0x114], 4
mov dword [esp + 0x14], 0x6376
cmp dword [esp + 0x14], 0x65a6
jle 0x100349fd
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov esi, ebx
mov edi, ebx
mov eax, edi
and eax, esi
or eax, ecx
lea ecx, [esp + 0xf0]
cdq
push edx
push eax
call fcn.10001aa5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100349bb
mov eax, dword [eax]
push eax
call fcn.1004c12c
pop ecx
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.1000bdc4
mov ecx, dword [esp + 0x18]
inc edi
cmp edi, 0x4b17
jl 0x1003499c
inc esi
cmp esi, 0x174f
jl 0x1003499a
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x1a22
jl 0x10034998
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_UnionRect]
mov dword [esp + 0x28], ebx
jmp 0x10034a13
mov eax, dword [esp + 0x28]
mov dword [esp + eax*4 + 0x70], 8
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 4
jl 0x10034a03
cmp dword [esp + 0x14], 0x6210
jge 0x10034a2f
push str.sfskynkg_svfu_noqnrwpu_mgxfi_oiplb_ozkusk_uurdjzuvb_zekvekq_sfkflkd_kablm_nxhok_ouamf_uuiiy
call fcn.1004c12c
pop ecx
mov dword [esp + 0x114], 4
mov dword [esp + 0x78], ebx
cmp dword [esp + 0x78], 1
jg 0x10034b77
sub esp, 0xc
mov dword [esp + 0x1c], 2
mov dword [esp + 0x28], 0xfff6
mov dword [esp + 0x20], ebx
call fcn.100367a5
add esp, 0xc
mov dword [esp + 0x10], ebx
jmp 0x10034b5c
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x8c]
push eax
call fcn.1000ba05
push ecx
lea eax, [esp + 0xc8]
mov byte [esp + 0x118], 9
push eax
push ecx
push ecx
push ebx
mov dword [esp + 0x28], 0xbc4433ac
push ecx
mov dword [esp + 0x2c], 0x8f0bd907
lea ecx, [esp + 0xa4]
mov dword [esp + 0x2c], 5
call fcn.10034c1f
mov edx, dword [esp + 0x34]
add esp, 0x18
mov eax, dword [esp + 0x10]
neg edx
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0xa0]
sbb edx, edx
neg edx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
je 0x10034ae7
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
inc ecx
sub ecx, eax
mov eax, dword [esp + 0x8c]
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [esp + 0x78]
cmp eax, 1
setle cl
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov eax, dword [esp + 0x14]
add eax, 0x417612d2
add eax, edx
cmp eax, 0x7d41
setne cl
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
je 0x10034b34
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], 0xffffffff
mov byte [esp + 0x114], 4
cmp dword [esp + 0x14], ebx
call fcn.1000ba88
inc dword [esp + 0x10]
xor eax, eax
inc eax
cmp dword [esp + 0x10], eax
jle 0x10034a71
inc dword [esp + 0x78]
cmp dword [esp + 0x78], eax
jle 0x10034a49
lea ecx, [esp + 0xa0]
mov byte [esp + 0x114], bl
call fcn.1000ba88
call fcn.10033d92
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x1a
mov eax, edx
pop esi
cmp eax, esi
jge 0x10034ba8
movzx edx, word [0x100854a8]
jmp 0x10034bb2
cdq
idiv esi
movzx eax, word [0x100840fc]
add edx, eax
lea ecx, [esp + 0xac]
push edx
call fcn.1000b98a
dec dword [esp + 0x20]
jne 0x100348a6
mov edi, dword [esp + 0x50]
push ecx
push 0x44a2
push ecx
mov edx, 0x2cef
mov cl, 1
call fcn.100364a8
lea eax, [esp + 0xb8]
add esp, 0xc
cmp edi, eax
je 0x10034bfb
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.1000be08
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.1000bfd2
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret