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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10063183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov byte [esp + 0x24], dl
push ebx
push esi
push edi
test cl, cl
je 0x10031927
test dl, dl
je 0x100318fb
xor ebx, ebx
mov dword [esp + 0x74], 7
xor eax, eax
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
push 0x6566
push 0x326b
lea eax, [esp + 0x68]
mov dword [esp + 0xdc], ebx
push eax
push 0x58ef
push 0x5f86
lea eax, [ebp + 0x18]
mov dl, 1
push eax
push 0x27d6
push 1
push 0x4dc0
xor cl, cl
call fcn.10031418
add esp, 0x24
lea ecx, [esp + 0x78]
push 2
call fcn.10001ed7
mov byte [esp + 0xd4], 1
mov dword [esp + 0x10], ebx
jmp 0x100314cd
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov dword [eax + ecx*4], 0xbca63185
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100314ba
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x100314eb
push ebx
mov ecx, 0x532c
call fcn.10031329
pop ecx
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], bl
mov dword [eax], ebx
call fcn.10001f5a
mov eax, dword [0x10080fc0]
test al, 1
jne 0x10031532
or eax, 1
mov dword [0x10080fc0], eax
push 0xab07
mov byte [esp + 0xd8], 2
call fcn.10011500
pop ecx
mov word [0x10082358], ax
mov byte [esp + 0xd4], bl
push 2
lea ecx, [esp + 0x4c]
call fcn.10001ed7
lea eax, [esp + 0x90]
mov byte [esp + 0xd4], 3
push eax
push ecx
push 0x5a60
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], ebx
push 0x1331
push eax
mov edx, 0x2afe
mov dword [esp + 0x48], 0xba3f
mov ecx, 0x50b2
call fcn.10033c67
add esp, 0x14
lea eax, [esp + 0x48]
mov edx, 0x392a
mov cl, 1
push 0x42e7
push 1
push 0x5193
push eax
push 0x348d
push 0x156
push ebx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x54]
push eax
push 0x2086
push 0x3c24
push 0x1c9c
push 0x6779
call fcn.10031cde
add esp, 0x34
mov byte [esp + 0xd4], bl
lea ecx, [esp + 0x48]
call fcn.10001f5a
mov eax, dword [0x10080fc0]
test al, 2
jne 0x10031605
or eax, 2
mov dword [0x10080fc0], eax
push 0x4b45
mov byte [esp + 0xd8], 4
call fcn.10011500
pop ecx
mov word [0x10082360], ax
mov byte [esp + 0xd4], bl
push 1
push 0x37d9
push 0x6aa3
push 0x74f1
push 0x62e6
push 0x1920
push 1
push 0x3496
push 0x174
push 0x5be7
push 0x3dc2
push 0x5591
push 0x4a27
push 0x2c37
push 1
push 0xcc0
push 0x16
push 0x4679
push 0x2e
mov edx, 0x3e13
pop ecx
call fcn.100310cf
mov esi, ebx
add esp, 0x48
cmp dword [ebp + 0x18], esi
jbe 0x100317ab
mov dword [esp + 0x3c], 0xfffffff8
lea ecx, [esp + 0x84]
push 2
call fcn.10001ed7
mov byte [esp + 0xd4], 5
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], 0x1320f2d6
mov dword [esp + 0x38], 0xa37d7c86
push 3
call fcn.10001ed7
mov byte [esp + 0xd4], 6
mov dword [esp + 0x24], ebx
jmp 0x100316cb
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x61780eec
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jl 0x100316b5
push 0x7c3
lea eax, [esp + 0x58]
xor dl, dl
push eax
push 0x5d16
push 0x53f2
push 0xbfd
push 0x6f3
lea eax, [esp + 0x3c]
mov cl, 1
push eax
push 1
push 0x17fd
call fcn.10031418
add esp, 0x24
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x58]
push eax
sub esp, 0xc
lea eax, [esp + 0x4c]
push eax
push ecx
push ecx
lea ecx, [esp + 0x5c]
call fcn.1003202e
add esp, 0x20
mov dword [esp + 0x20], 0x1a
jmp 0x10031746
mov byte [esp + 0x1e], bl
lea ecx, [esp + 0x1e]
push 1
call fcn.10031329
dec dword [esp + 0x24]
pop ecx
cmp dword [esp + 0x20], 0xfffffff4
jge 0x10031732
lea ecx, [esp + 0x54]
call fcn.10001f5a
lea ecx, [esp + 0x84]
mov byte [esp + 0xd4], bl
call fcn.10001f5a
call fcn.10031037
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x10082360
push 0x5e66
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
push eax
lea eax, [esp + 0x6c]
xor dl, dl
push eax
push 0x10082358
mov ecx, 0x58db
call fcn.100339d5
add esp, 0x14
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x1003166e
mov dword [esp + 0x14], 0xc7bf
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x2c], 0x15b01d97
mov dword [esp + 0x18], 0x254f8d36
mov dword [esp + 0xc], 0x7854c3eb
mov dword [esp + 0xc], ebx
jmp 0x100317f3
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x94], 9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x100317e0
mov dword [esp + 0xc], ebx
jmp 0x10031813
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xa0], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10031800
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp eax, edx
push 3
setl cl
xor edx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
imul ecx, dword [esp + 0x30], 0x25e4
mov eax, dword [esp + 0x1c]
cmp ecx, eax
setge dl
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, 3
neg eax
cmp eax, edx
pop edx
setle cl
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], ebx
jl 0x100318d6
mov dword [esp + 0xc], ebx
jmp 0x100318ca
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], ebx
jl 0x100318c6
mov dword [esp + 0x14], ebx
jmp 0x100318b9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax*4 + 0xa0]
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x94], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jle 0x1003189f
dec dword [esp + 0x10]
jns 0x10031899
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edx
jle 0x1003188f
dec dword [esp + 0x18]
jns 0x10031889
mov ecx, dword [ebp + 0x28]
lea eax, [esp + 0x60]
cmp ecx, eax
je 0x100318ea
push 0xffffffffffffffff
push ebx
push eax
call fcn.100121d8
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.1001231a
jmp 0x100319e4
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x100319e4
mov esi, dword [ebp + 0x24]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xff444262
inc dword [edx]
cmp dword [edx], 3
jl 0x10031910
jmp 0x100319e4
cmp byte [ebp + 0xc], 0
je 0x1003193f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
push dword [eax]
call fcn.100118eb
jmp 0x100319e4
mov dword [esp + 0x28], 0x6cad
cmp dword [esp + 0x28], 0x6d04
push 0
pop ebx
jle 0x100319b0
push 0x685
push ebx
push ebx
push 0x19f4
push ebx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov esi, ebx
mov edi, ebx
mov eax, edi
lea ecx, [esp + 0xb0]
and eax, esi
cdq
push edx
push eax
call fcn.10002a23
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10031988
mov eax, dword [eax]
push eax
call fcn.10049a06
pop ecx
push ebx
push 1
lea ecx, [esp + 0xb8]
call fcn.10002ff9
inc edi
cmp edi, 0x7b57
jl 0x1003196b
inc esi
cmp esi, 0x2dce
jl 0x10031969
mov edx, dword [ebp + 8]
mov dword [edx], ebx
cmp dword [edx], 1
jge 0x100319cf
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x91a049fe
inc dword [edx]
cmp dword [edx], 1
jl 0x100319bd
cmp dword [esp + 0x28], 0x6acb
jge 0x100319e4
push str.rrksltaxk_hag_qezfifjju_khmzmd_nvcvkrl_ddockctow_wpgkyspaq_mjrsttw_jsbufhidq_hbexk
call fcn.10049a06
pop ecx
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret