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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006149f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [esp + 0x28], edi
je 0x10019d2d
cmp byte [ebp + 0x14], 0
je 0x10019d21
mov dword [esp + 0x28], 4
mov ecx, 0x424
push 0x452e
call fcn.10019eed
mov dword [esp], 0x4713
push ecx
push ecx
push 1
push 0x58f4
call fcn.1001896e
add esp, 0x14
mov dword [esp + 0x34], 0xaf030800
mov word [esp + 0x38], 0x8716
xor ebx, ebx
push 0x7c
pop eax
mov word [esp + 0x3c], ax
mov dword [esp + 0x14], 0x4a7
cmp dword [esp + 0x14], 0x642
jle 0x10019875
mov esi, ebx
mov dword [esp + 0x2c], ebx
mov edi, esi
mov esi, 0x4c16
mov eax, edi
lea ecx, [esp + 0xd8]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001984a
mov eax, dword [eax]
push eax
call fcn.10049ba3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xe0]
call fcn.10004a46
dec edi
dec esi
jne 0x1001982f
mov esi, dword [esp + 0x2c]
inc esi
mov dword [esp + 0x2c], esi
cmp esi, 0x6678
jl 0x10019828
push 2
mov ecx, ebx
pop esi
mov dword [esp + 0x2c], ecx
cmp esi, 2
jne 0x1001988e
push 4
pop ecx
push ecx
mov dword [esp + 0x30], ecx
pop esi
jmp 0x100198d3
movzx edx, byte [esp + esi + 0x35]
mov eax, esi
sub eax, ecx
push 0x650a
movzx eax, byte [esp + eax + 0x36]
movzx eax, word [esp + eax*2 + 0x40]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x38]
mov word [esp + eax*2 + 0x40], cx
lea eax, [esp + 0x30]
push eax
push 0x6356
mov ecx, 0x7f14
call fcn.1001ab34
mov ecx, dword [esp + 0x38]
add esp, 0xc
add esi, 2
cmp esi, 6
jb 0x1001987e
cmp dword [esp + 0x14], 0x3ef
jge 0x100198f0
push str.nrcs_rtntmglf_gyh_hibnaxam_aypyv_vbbvl_cvfpashp_byfk_jctup_znmtoqu_qtvjl_rondknq
call fcn.10049ba3
pop ecx
xor eax, eax
lea ecx, [esp + 0x98]
or edi, 0xffffffff
mov dword [esp + 0x114], edi
mov word [esp + 0x3e], ax
mov word [esp + 0x98], ax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
call fcn.1001cd0a
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x98]
push 2
pop esi
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x118], esi
call fcn.10018797
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x11c], 4
call fcn.10004bb8
push esi
lea ecx, [esp + 0x90]
call fcn.1000457d
mov byte [esp + 0x114], 5
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10], ebx
jmp 0x10019997
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
mov dword [eax + ecx*4], 9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10019981
push 1
push 0x382b
push ebx
push 1
push 0x2e60
push 0x139f
push 0x5a61
lea edx, [esp + 0x78]
mov ecx, 0x54f5
call fcn.10019788
add esp, 0x1c
mov byte [esp + 0x114], 4
lea ecx, [esp + 0x8c]
call fcn.10004600
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], 0x3342eb9
mov byte [esp + 0x23], bl
cmp byte [esp + 0x23], 0
je 0x100199fd
sub esp, 0xc
call fcn.1001aa8d
add esp, 0xc
sub esp, 0x18
lea eax, [esp + 0x78]
push eax
push ecx
push 0x19b9
push ecx
mov cl, 1
call fcn.100189e7
xor ecx, ecx
add esp, 0x28
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x37652245
mov dword [esp + 0x18], 0xfffffff7
mov dword [esp + 0x18], 0x4c9ff750
mov dword [esp + 0x18], 0xfffffffa
mov dword [esp + 0x18], 0xfffffffd
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
jmp 0x10019a62
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xb0], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x10019a53
mov edx, ebx
cmp dword [esp + 0x10], ebx
je 0x10019a73
mov edx, ecx
xor eax, eax
test edx, edx
setg al
imul eax, eax, 0x5e0e
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
jne 0x10019aa6
cmp dword [esp + 0x10], ebx
jne 0x10019aa6
mov ecx, ebx
mov eax, 0x44b0bf2
xor edx, edx
sub eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp ecx, eax
setge dl
xor ecx, ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x821c760f
setne cl
add ecx, dword [esp + 0x10]
je 0x10019aeb
cmp dword [esp + 0x14], ebx
je 0x10019aeb
xor eax, eax
inc eax
jmp 0x10019aed
mov eax, ebx
mov dword [esp + 0xb4], eax
cmp eax, edi
push 0xd
sbb eax, eax
inc eax
cmp eax, edi
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
pop eax
push 2
pop esi
mov dword [esp + 0x1c], 3
mov dword [esp + 0x40], 0x7027d01
mov dword [esp + 0x44], 0x4bf902
mov word [esp + 0x48], 0x303
mov byte [esp + 0x4a], 0x29
mov word [esp + 0x52], ax
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], ebx
cmp esi, 4
jne 0x10019b72
push 5
mov dword [esp + 0x50], 3
pop esi
jmp 0x10019c86
mov dword [esp + 0x1c], 0x6cd7
cmp dword [esp + 0x1c], 0x6eeb
jle 0x10019c20
mov edi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0xca9
mov eax, ebx
mov dword [esp + 0x18], ebx
mov ecx, eax
mov dword [esp + 0x28], edi
mov esi, ebx
shl edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [esp + 0xc0]
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10019bc9
mov eax, dword [eax]
push eax
call fcn.10049ba3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc8]
call fcn.10004a46
inc esi
cmp esi, 0x4f50
jl 0x10019baa
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x275f
jl 0x10019ba0
dec edi
dec dword [esp + 0x10]
mov dword [esp + 0x14], edi
jne 0x10019b9a
mov edi, dword [esp + 0x30]
inc edi
mov dword [esp + 0x30], edi
cmp edi, 0x59c6
jl 0x10019b8e
mov esi, dword [esp + 0x24]
movzx edx, byte [esp + esi + 0x41]
mov eax, esi
sub eax, dword [esp + 0x4c]
movzx eax, byte [esp + eax + 0x3e]
movzx eax, word [esp + eax*2 + 0x50]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
cmp dword [esp + 0x1c], 0x6ad8
movzx eax, byte [esp + esi + 0x40]
mov word [esp + eax*2 + 0x50], cx
jge 0x10019c5c
push str.rgorbjgha_ubtkembra_sre_ypunghj_axh
call fcn.10049ba3
pop ecx
push 1
push 0x5c67
push ecx
push 0x486b
push ecx
mov edx, 0x20fe
mov dword [esp + 0x128], 4
lea ecx, [esp + 0x60]
call fcn.10018c5e
add esp, 0x14
add esi, 2
mov dword [esp + 0x24], esi
cmp esi, 0xb
jb 0x10019b5d
xor eax, eax
mov dword [esp + 0x88], 7
mov word [esp + 0x58], ax
lea ecx, [esp + 0x74]
mov word [esp + 0x74], ax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x88], ebx
call fcn.1001cd0a
xor eax, eax
mov byte [esp + 0x114], 8
lea edi, [esp + 0x50]
mov edx, 0x77e3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x68]
push eax
push ecx
push 1
lea eax, [esp + 0x80]
push eax
push ecx
push 0x227
call fcn.100188d7
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x80]
add esp, 0x18
push eax
call fcn.1001c641
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.10004bb8
lea ecx, [esp + 0x68]
call fcn.1001cf1d
jmp 0x10019e47
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
inc dword [eax]
jmp 0x10019e47
cmp byte [ebp + 0x20], 0
je 0x10019d86
xor ebx, ebx
mov dword [esi], 0
inc ebx
jmp 0x10019d7d
lea eax, [esp + 0x64]
mov dword [esp + 0x28], 0x83846275
push eax
push 0x2a4b
push 0xb22
push 0x6ab2
push ebx
mov dword [esp + 0x3c], 4
xor dl, dl
mov dword [esp + 0x78], 0x8bc5
mov ecx, 0x5c2d
push ebx
call fcn.1001ac0b
add esp, 0x18
inc dword [esi]
cmp dword [esi], ebx
jle 0x10019d3e
jmp 0x10019e47
mov dword [esp + 0x30], 0x2fdf
cmp dword [esp + 0x30], 0x3333
push 0
pop ebx
jle 0x10019e19
push ebx
push ebx
push 0x2037
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0x4f4
mov esi, dword [esp + 0x14]
mov edi, ebx
mov eax, esi
lea ecx, [esp + 0xf0]
and eax, edi
cdq
push edx
push eax
call fcn.10001a65
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10019ddb
mov eax, dword [eax]
push eax
call fcn.10049ba3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xf8]
call fcn.10004a46
inc edi
cmp edi, 0x798e
jl 0x10019dbe
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], esi
dec dword [esp + 0x24]
jne 0x10019db8
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0xc57
jl 0x10019dac
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x30], 0x2e3c
jge 0x10019e2e
push str.cco_djcdyt_nqy
call fcn.10049ba3
pop ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ebx
jmp 0x10019e42
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 4
inc dword [edx]
cmp dword [edx], 3
jl 0x10019e35
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret