Function at 0x1003ebfb
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1005f6db
call fcn.1005d884
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x50], edi
cmp byte [edi], 0x50
jne 0x1003f6f4
cmp byte [edi + 1], 0x4b
jne 0x1003f6f4
push 3
lea ecx, [ebp - 0x94]
call fcn.1000f845
xor ebx, ebx
mov dword [ebp - 0x10], 0x9dada439
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
jmp 0x1003ec59
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x94]
mov dword [eax + ecx*4], 0x8bbc
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1003ec46
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], ebx
jl 0x1003ec9d
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003ec7d
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x94]
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
mov dword [ebp - 0x28], eax
dec dword [ebp - 0x10]
jns 0x1003ec6b
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003ecdf
push ebx
push 0x387
push 0x221b
push ebx
push 0x11f
push 0x13a2
push 0x43f
push 0xe69
push 0x2439
push 0xb2f
push 0x1951
push 0x14a6
call dword [sym.imp.GDI32.dll_MaskBlt]
lea ecx, [ebp - 0x94]
call fcn.1000f91b
push 4
pop esi
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x88]
push 1
call fcn.1000f845
xor edx, edx
inc edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x3c], 0x668451f1
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x24], 0xd7c3
mov dword [ebp - 0x14], ebx
jmp 0x1003ed30
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov dword [eax + ecx*4], 0x5e790e86
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003ed1d
mov dword [ebp - 0x14], ebx
jmp 0x1003ed44
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x7c], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003ed3a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x88]
mov dword [eax], ecx
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
inc dword [ebp - 0x24]
call fcn.1000f91b
mov al, byte [edi + 2]
mov dword [ebp - 0x10], 0x4dd03248
mov dword [ebp - 0x2c], 0x249a
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], 0x266d210e
mov byte [ebp - 0x15], al
mov dword [ebp - 0x24], 0xfffffff7
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], ebx
jmp 0x1003edce
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1003edcb
push 0x79
call dword [sym.imp.USER32.dll_GetSysColorBrush]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x18
jge 0x1003edbb
mov al, byte [edi + 3]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x1d], al
movzx eax, byte [ebp - 0x15]
add eax, esi
push 1
mov dword [ebp - 0x28], eax
call fcn.1000f845
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x3c], 0xdd5d0881
inc edx
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x2c], 0x93b76f05
mov dword [ebp - 0x14], ebx
jmp 0x1003ee1b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], 0x841b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003ee0d
mov dword [ebp - 0x14], ebx
jmp 0x1003ee35
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
mov dword [eax + ecx*4], 0xa32b1cec
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003ee25
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0xac]
push 2
call fcn.1000f845
mov dword [ebp - 0x10], ebx
jmp 0x1003ee67
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xac]
mov dword [eax + ecx*4], 0x264f7d9f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003ee54
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x30]
test eax, eax
setne cl
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x30], ebx
jne 0x1003eed1
mov dword [ebp - 0x3c], 0xcf7d1649
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax]
mov eax, dword [ebp + esi*4 - 0x30]
cmp esi, eax
mov eax, dword [ebp + esi*4 - 0x30]
setl cl
xor edx, edx
cmp ecx, 1
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x4c]
setne cl
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x30]
cmp dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
setle cl
add eax, ecx
jne 0x1003eed1
mov ecx, ebx
jmp 0x1003eed4
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x4c]
neg ecx
add ecx, ecx
neg ecx
mov eax, dword [eax]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setle dl
sub edx, eax
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
sub edx, dword [ebp + eax*4 - 0x30]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x30]
cmp edx, eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
setg cl
imul edx, ecx
mov eax, dword [eax]
neg edx
mov eax, dword [ebp + eax*4 - 0x30]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [ebp - 0x4c]
setl cl
xor edx, edx
mov dword [ebp - 0x24], ecx
mov edi, dword [eax]
mov eax, 0xfff6
sub eax, edi
mov ecx, dword [ebp + edi*4 - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x4c]
setl dl
xor ecx, ecx
mov esi, dword [eax]
mov eax, dword [ebp + edi*4 - 0x30]
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, esi
setge al
add eax, 0x32e0
imul eax, dword [ebp - 0x38]
sub eax, dword [ebp + esi*4 - 0x30]
cmp eax, dword [ebp - 0x30]
jle 0x1003efea
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
inc dword [ebp - 0x24]
je 0x1003ef8b
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, 0x275f
mov eax, dword [ebp - 0x4c]
setle cl
cmp ecx, dword [eax]
jle 0x1003ef8b
xor edx, edx
inc edx
jmp 0x1003ef8d
mov edx, ebx
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x30]
cmp edx, eax
setl cl
lea eax, [ecx - 0x38e074f0]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xfffe
mov eax, dword [ebp - 0x10]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0xac]
setg cl
mov dword [eax + 4], ecx
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f004
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
jmp 0x1003f004
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f004
push 0xdcf
push 0x203e
push ebx
call dword [sym.imp.GDI32.dll_PtInRegion]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x3c], 1
call fcn.1000f91b
mov eax, dword [ebp - 0x4c]
dec dword [eax]
jns 0x1003ee3f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1000f91b
push 2
mov dword [ebp - 0x24], 0xa75c19c5
mov dword [ebp - 0x10], ebx
pop ecx
jmp 0x1003f049
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xe8], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x1003f03c
mov eax, 0x1124f01c
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f06b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x50]
movzx eax, byte [ebp - 0x1d]
add eax, 0x18
add eax, esi
mov ecx, dword [esi + edi + 0x14]
mov edx, dword [esi + edi]
mov dword [ebp - 0x2c], eax
call fcn.1003ebed
push dword [ebp - 0x7c]
movdqa xmm0, xmmword [0x1006c720]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x5c], ebx
push eax
push ebx
movdqu xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.10013216
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x38], 0xfffffffc
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 3
jg 0x1003f204
mov dword [ebp - 0x14], 0x7c8a6b95
mov dword [ebp - 0x10], 0x9329bfae
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x14], ebx
jmp 0x1003f1ea
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jne 0x1003f10b
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x1003f126
mov esi, ebx
jmp 0x1003f129
xor esi, esi
inc esi
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
cmp esi, eax
mov eax, dword [ebp - 0x5c]
setle cl
imul ecx, dword [eax + edx*4]
imul eax, ecx, 0xffffabb1
test eax, eax
je 0x1003f15e
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f1dc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x1003f1dc
mov dword [ebp - 0x34], 0x316d
mov dword [ebp - 0x10], ebx
jmp 0x1003f1d6
mov dword [ebp - 0x40], 0xfffffff6
mov dword [ebp - 0x24], 0xad5889e5
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x34], ebx
je 0x1003f1a1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x5c]
cmp dword [eax + ecx*4], ebx
je 0x1003f1a1
cmp dword [ebp - 0x1c], ebx
je 0x1003f1a1
xor ecx, ecx
inc ecx
jmp 0x1003f1a3
mov ecx, ebx
mov eax, dword [ebp - 0x38]
sub ecx, eax
jne 0x1003f1ad
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [eax + edx*4], ecx
mov dword [ebp - 0x40], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x1003f16a
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov dword [ecx + edx*4], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x1003f0f7
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jle 0x1003f0da
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
call fcn.1000f91b
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x108]
add eax, edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 0xee1c9741
push 1
mov dword [ebp - 0x38], eax
call fcn.1000f845
xor edx, edx
inc edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], ebx
jmp 0x1003f244
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], 0x48261f9c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003f236
mov dword [ebp - 0x14], ebx
jmp 0x1003f25d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x108]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003f24e
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f276
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
xor edx, edx
inc edx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jg 0x1003f327
jmp 0x1003f287
xor edx, edx
inc edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x2c], 0x4dc9ed9b
push 3
call fcn.1000f845
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], ebx
jmp 0x1003f2ba
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], 0xc2285faa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1003f2a7
mov dword [ebp - 0x14], ebx
jmp 0x1003f307
push 3
lea ecx, [ebp - 0xb8]
call fcn.1000f845
mov dword [ebp - 0x10], ebx
jmp 0x1003f2ea
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xb8]
mov dword [eax + ecx*4], 0x3fe662db
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1003f2d7
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb8]
inc dword [eax + 8]
call fcn.1000f91b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x1003f2c5
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 1
call fcn.1000f91b
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x1003f284
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.1000f91b
push 4
lea ecx, [ebp - 0x74]
call fcn.1000f845
push 2
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 3
call fcn.1000f845
mov dword [ebp - 0x14], 0xa9c21324
mov dword [ebp - 0x14], ebx
jmp 0x1003f370
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1003f360
mov dword [ebp - 0x14], ebx
jmp 0x1003f38e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc4]
mov dword [eax + ecx*4], 0x568b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1003f37b
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov eax, dword [edx + 8]
mov edx, 0xffff
add eax, ecx
cmp edx, eax
mov eax, 0xa7275995
sbb ecx, ecx
inc ecx
sub eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
je 0x1003f3d4
mov eax, dword [ebp - 0x74]
cmp dword [eax + 4], ebx
je 0x1003f3d4
mov dword [ebp - 0x28], edx
dec dword [ebp - 0x28]
jmp 0x1003f46b
mov dword [ebp - 0x24], 0x2b79dc86
xor ecx, ecx
mov dword [ebp - 0x2c], 0x9a984365
inc ecx
mov dword [ebp - 0x40], 0xfc24489
mov dword [ebp - 0x14], ebx
jmp 0x1003f466
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], ebx
jl 0x1003f44d
mov dword [ebp - 0x1c], 0xa83a0f0f
mov dword [ebp - 0x1c], ebx
jmp 0x1003f443
mov dword [ebp - 0x10], 0xffffffff
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
cmp dword [eax + edx*4 + 4], 0xfffffffa
setle cl
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x10], ebx
jmp 0x1003f437
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], 5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1003f427
inc dword [ebp - 0x1c]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x1c], ecx
jle 0x1003f408
dec dword [ebp - 0x34]
jns 0x1003f3fc
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jle 0x1003f3f1
lea ecx, [ebp - 0xc4]
call fcn.1000f91b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.1000f91b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x78]
movdqa xmm0, xmmword [0x1006c710]
mov dword [eax], ecx
mov eax, dword [esi + edi]
mov dword [ebp - 0xe0], eax
mov eax, dword [esi + edi + 4]
mov dword [ebp - 0xdc], eax
mov eax, dword [esi + edi + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [esi + edi + 0xc]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x118]
push eax
shr ecx, 2
lea eax, [ebp - 0x128]
inc ecx
mov dword [ebp - 0x68], ebx
push eax
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x68]
push ebx
movdqu xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.10013216
push 4
pop esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], 0x90c4d8e5
push 2
call fcn.1000f845
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x1003f52f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003f51c
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x14], ebx
jl 0x1003f669
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0x7b09f595
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x28], 0x64087a91
mov dword [ebp - 0x28], 0x7304677
mov dword [ebp - 0x2c], 0xfffffff8
push esi
call fcn.1000f845
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x10], ebx
jmp 0x1003f597
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xd0]
mov dword [eax + ecx*4], 0x9314e764
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1003f584
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
dec dword [ebp - 0x34]
test eax, eax
jne 0x1003f5b2
cmp dword [ebp - 0x34], ebx
jne 0x1003f5b2
mov eax, ebx
jmp 0x1003f5b5
xor eax, eax
inc eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x68]
add esi, dword [eax + ecx*4]
imul esi, dword [eax + edx*4]
xor edx, edx
mov eax, dword [ebp - 0xa0]
cmp esi, dword [eax]
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0xffff
setne al
xor ecx, ecx
cmp eax, dword [edi + 8]
mov eax, dword [ebp - 0xd0]
setl cl
xor edx, edx
imul ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x68]
cmp eax, dword [ecx]
setl dl
xor eax, eax
cmp dword [ecx + esi*4], edx
mov esi, dword [ebp - 0x40]
setl al
xor ecx, ecx
imul eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], eax
setg cl
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi + 4]
setle cl
sub ecx, 0xfffffffb
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esi + 4], ecx
lea ecx, [ebp - 0xd0]
call fcn.1000f91b
dec dword [ebp - 0x14]
push 4
pop esi
jns 0x1003f551
mov edi, dword [ebp - 0x50]
lea ecx, [ebp - 0xa0]
call fcn.1000f91b
lea ecx, [ebp - 0x68]
call fcn.1000f91b
mov esi, ebx
cmp dword [ebp - 0x3c], esi
jbe 0x1003f751
mov ecx, dword [ebp - 0x38]
sub edi, ecx
push 2
mov dword [ebp - 0x2c], 0xa75c19c5
mov dword [ebp - 0x10], ebx
pop edx
jmp 0x1003f6a8
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf0], edx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1003f69b
mov eax, 0x1124f01c
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003f6cd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov edx, esi
and edx, 3
mov edx, dword [ebp + edx*4 - 0xe0]
call fcn.1003ebed
mov ecx, dword [ebp - 0x38]
mov dword [edi + ecx], eax
add ecx, 4
inc esi
mov dword [ebp - 0x38], ecx
cmp esi, dword [ebp - 0x3c]
jb 0x1003f68c
jmp 0x1003f751
mov dword [ebp - 0x10], 0xc05baf43
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 0x15], bl
je 0x1003f72f
cmp byte [ebp - 0x15], bl
je 0x1003f716
push ebx
push 0x23c8
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
mov dword [ebp - 0x10], 3
jmp 0x1003f727
cmp dword [ebp - 0x10], ebx
jne 0x1003f74c
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe9
jne 0x1003f71f
jmp 0x1003f74c
cmp byte [ebp - 0x15], bl
je 0x1003f74c
push ebx
push 0xf74
push ebx
push ebx
push 0x1e26
push 0x306
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret