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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005bf41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [esp + 0x20], ecx
je 0x1000393c
cmp byte [ebp + 0xc], 0
je 0x1000391f
mov dword [esp + 0x10], 0x24c
cmp dword [esp + 0x10], 0x4a3
push 0
pop ebx
jle 0x100036f6
push ebx
push ebx
push 0x1c47
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0xc], ebx
mov esi, ebx
mov dword [esp + 0x34], ebx
mov edi, ebx
mov dword [esp + 0x38], ebx
mov eax, esi
mov esi, dword [esp + 0xc]
cdq
idiv edi
mov edi, ebx
mov eax, edx
mov dword [esp + 0x20], eax
cdq
lea ecx, [esp + 0x90]
idiv edi
mov eax, esi
sub eax, edx
cdq
push edx
push eax
call fcn.10001341
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000369d
mov eax, dword [eax]
push eax
call fcn.10044ce0
pop ecx
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.100014ca
mov eax, dword [esp + 0x20]
inc edi
cmp edi, 0x274a
jl 0x1000367d
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0x493f
jl 0x1000366c
inc esi
mov dword [esp + 0x34], esi
cmp esi, 0x3af
jl 0x10003666
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x2be7
jl 0x10003660
mov dword [esp + 0x14], 0xc28ade19
mov dword [esp + 0x20], 0x9ed9ba07
mov dword [esp + 0xc], ebx
jmp 0x1000371c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x58], 0x925b0e44
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1000370c
push ecx
lea eax, [esp + 0x18]
mov edx, 0x78d2
push eax
push 0x137e
push 0x3155
push 1
call fcn.100022ee
add esp, 0x14
mov dword [esp + 0x14], 1
cmp dword [esp + 0x14], ebx
jl 0x10003762
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x58]
mov dword [esp + 0x20], eax
dec dword [esp + 0x14]
jns 0x10003750
cmp dword [esp + 0x10], 0x2c
jge 0x10003774
push str.ynjez_rrrbfnt_lnbeswqj_mpho_mldsal_xmrgxf_zqy_lvkopg
call fcn.10044ce0
pop ecx
or dword [esp + 0xe4], 0xffffffff
mov ecx, ebx
push 0x7c
pop eax
push 2
mov byte [esp + 0x1c], bl
mov dword [esp + 0x1d], 0xcf410303
mov byte [esp + 0x21], 0x61
mov word [esp + 0x28], ax
pop esi
mov dword [esp + 0x30], ecx
cmp esi, 2
jne 0x100037ae
push 4
pop ecx
push ecx
mov dword [esp + 0x34], ecx
pop esi
jmp 0x100037e7
movzx edx, byte [esp + esi + 0x19]
mov eax, esi
sub eax, ecx
push 1
movzx eax, byte [esp + eax + 0x1a]
movzx ecx, word [esp + eax*2 + 0x28]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x1c]
add ecx, edx
lea edx, [esp + 0x34]
push ecx
mov word [esp + eax*2 + 0x2c], cx
call fcn.10004473
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
add esi, 2
cmp esi, 6
jb 0x1000379e
xor eax, eax
mov dword [esp + 0x70], ebx
push 7
mov word [esp + 0x2a], ax
lea ecx, [esp + 0x64]
pop edi
mov word [esp + 0x60], ax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x78], edi
call fcn.10006ddc
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0xe8], 2
call fcn.1000224b
pop ecx
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 4
call fcn.10006f39
push 0xd
pop eax
push 2
mov dword [esp + 0x28], ebx
mov word [esp + 0x2c], 0x4001
mov byte [esp + 0x2e], bl
mov dword [esp + 0x2f], 0x2290304
mov byte [esp + 0x33], 0x2a
mov word [esp + 0x42], ax
pop esi
movzx eax, byte [esp + esi + 0x26]
movzx edx, byte [esp + esi + 0x29]
movzx ecx, word [esp + eax*2 + 0x3c]
mov eax, edx
and eax, ecx
add eax, eax
sub edx, eax
movzx eax, byte [esp + esi + 0x28]
add edx, ecx
add esi, 2
mov word [esp + eax*2 + 0x3c], dx
cmp esi, 8
jb 0x1000386c
xor eax, eax
mov dword [esp + 0x8c], edi
mov word [esp + 0x44], ax
lea ecx, [esp + 0x78]
mov word [esp + 0x78], ax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x8c], ebx
call fcn.10006ddc
xor eax, eax
mov byte [esp + 0xe4], 5
lea edi, [esp + 0x3c]
mov edx, 0x5b12
stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push 0x16bc
push 0xc87
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x80]
push eax
push ebx
call fcn.10004333
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x5c]
add esp, 0x10
push eax
call fcn.100066e6
push ebx
push 1
lea ecx, [esp + 0x80]
call fcn.10006f39
lea ecx, [esp + 0x4c]
call fcn.1000706b
jmp 0x10003a4d
cmp byte [edx], 0
je 0x10003a4d
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_RemovePropA]
jmp 0x10003a4d
cmp byte [ebp + 8], 0
je 0x10003a48
mov dword [esp + 0x10], 0x2c8b
cmp dword [esp + 0x10], 0x2ff6
push 0
pop ebx
jle 0x100039a4
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [esp + 0xa8]
xor eax, esi
cdq
push edx
push eax
call fcn.10001341
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000397c
mov eax, dword [eax]
push eax
call fcn.10044ce0
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb0]
call fcn.100014ca
inc edi
cmp edi, 0x4529
jl 0x1000395f
inc esi
cmp esi, 0x1180
jl 0x1000395d
cmp dword [esp + 0x10], 0x29a8
jge 0x100039b9
push str.shlpozxlr_buytdo_tlslpwoc_gaz_tvmnsqce_fnpya_znzzi_qszg_vanp
call fcn.10044ce0
pop ecx
or dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0x10], 0x18a2
cmp dword [esp + 0x10], 0x18b4
jle 0x10003a1f
mov esi, ebx
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0xc0]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10001341
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100039f7
mov eax, dword [eax]
push eax
call fcn.10044ce0
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc8]
call fcn.100014ca
inc edi
cmp edi, 0x791a
jl 0x100039d7
inc esi
cmp esi, 0x4ba1
jl 0x100039d5
push ecx
push dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
call fcn.100064ac
cmp dword [esp + 0x10], 0x1737
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
jge 0x10003a4d
push str.ogsxo_gooh_fph
call fcn.10044ce0
pop ecx
jmp 0x10003a4d
mov eax, dword [ebp + 0x24]
dec dword [eax]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret