Function at 0x1003d658
Capabilities:
Accept command line arguments
Delete file
Identify system language via api

Disassembly:
mov eax, 0x1006fbbf
call fcn.1006e848
sub esp, 0x124
push ebx
push esi
xor esi, esi
mov byte [ebp - 0x40], dl
mov eax, ecx
mov dword [ebp - 0x20], esi
push edi
xor edx, edx
mov dword [ebp - 0x44], 0xfffffffc
mov dword [ebp - 0x10], esp
inc edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], esi
jmp 0x1003d69b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], 5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1003d68d
push 3
mov dword [ebp - 0x14], esi
pop edi
jmp 0x1003d6b9
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x124], 0xe661fbc9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003d6a8
cmp dword [ebp - 0x20], esi
jne 0x1003d6df
mov eax, esi
push 4
pop ebx
cmp ebx, eax
mov dword [ebp - 0x48], eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, edx
setle cl
cmp ecx, dword [ebp - 0x20]
mov ecx, esi
jl 0x1003d6e1
mov ecx, edx
mov eax, dword [ebp - 0x20]
imul eax, ecx
test eax, eax
jne 0x1003d6f2
cmp dword [ebp - 0x48], esi
jne 0x1003d6f2
mov edx, esi
mov eax, dword [ebp - 0x20]
xor ebx, ebx
cmp edx, eax
setl bl
xor edx, edx
mov dword [ebp - 0x124], ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setle dl
cmp edx, ebx
jne 0x1003d8b5
push edi
lea ecx, [ebp - 0xf4]
call fcn.10021d7a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1003d740
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xf4]
mov dword [eax + ecx*4], 0x38b36ced
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003d72d
push 9
xor esi, esi
mov dword [ebp - 0x20], 0xfffffffc
pop ecx
inc esi
cmp dword [ebp - 0x20], 0xfffffff8
jge 0x1003d8a6
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0x28], 0x13
cmp dword [ebp - 0x28], 0xd
jne 0x1003d89e
mov dword [ebp - 0x24], 0x7b85
cmp dword [ebp - 0x24], 0x7e78
jle 0x1003d7cf
mov edi, ebx
mov dword [ebp - 0x44], ebx
mov esi, ebx
lea ebx, [esi + edi]
mov edi, 0x5f93
mov eax, ebx
mov ecx, 0x106165b8
cdq
push edx
push eax
call fcn.10021c65
dec ebx
dec edi
jne 0x1003d793
mov edi, dword [ebp - 0x44]
inc esi
cmp esi, 0x77aa
jl 0x1003d78b
inc edi
mov dword [ebp - 0x44], edi
push 0
pop ebx
cmp edi, 0x6624
jl 0x1003d789
push ebx
push ebx
call dword [sym.imp.GDI32.dll_RectInRegion]
push 3
pop edi
push 9
pop ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 0x7b6c
jge 0x1003d815
mov edx, 0x100089c0
mov ecx, 0x106165b8
call fcn.1002532f
jmp 0x1003d815
xor esi, esi
mov dword [ebp - 4], ebx
inc esi
mov dword [ebp - 0x14], ebx
jmp 0x1003d848
mov dword [ebp - 0x1c], 0xbae8b012
mov dword [ebp - 0x1c], ebx
jmp 0x1003d83f
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d83c
push ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe9
je 0x1003d82c
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff4
je 0x1003d820
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
dec eax
cmp eax, 8
push 9
setge cl
xor edx, edx
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf4]
cmp ecx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x14]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, esi
setg cl
sub eax, ecx
mov dword [ebp - 0x48], eax
dec dword [ebp - 0x28]
pop ecx
jmp 0x1003d76a
dec dword [ebp - 0x20]
jmp 0x1003d752
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
jmp 0x1003d968
mov dword [ebp - 0x44], 0x7228d029
lea ecx, [ebp - 0xb8]
push 4
call fcn.10021d7a
xor ebx, ebx
mov dword [ebp - 0x2c], 0xb9efecf4
mov dword [ebp - 0x20], ebx
jmp 0x1003d8ea
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xb8]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jl 0x1003d8d7
xor esi, esi
mov dword [ebp - 0x20], ebx
inc esi
jmp 0x1003d902
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x50], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1003d8f8
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp eax, 0x3314
mov eax, dword [ebp - 0x44]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x48]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x44]
cmp eax, 0x9e84
mov eax, dword [ebp - 0xb8]
setge cl
xor edx, edx
cmp ecx, 0x131b3b3
setg dl
mov dword [eax], edx
test edx, edx
jne 0x1003d95a
cmp dword [ebp - 0x48], 0x3ca54356
mov eax, ebx
je 0x1003d95c
mov eax, esi
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
call fcn.10021dfc
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d97c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x20], 0xb26bdde0
mov dword [ebp - 0x1c], ebx
jmp 0x1003d999
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x130], 0xb6318d58
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003d988
mov dword [ebp - 0x20], 0xffffffea
jmp 0x1003da56
mov dword [ebp - 0x3c], 0xb023ed15
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d9c1
push ebx
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
mov dword [ebp - 0x3c], ebx
jmp 0x1003da49
push 4
lea ecx, [ebp - 0xa0]
call fcn.10021d7a
mov dword [ebp - 0x1c], ebx
jmp 0x1003d9ea
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1003d9db
mov eax, dword [ebp - 0xa0]
push 2
pop ecx
mov dword [eax], ecx
mov dword [ebp - 0x28], 0xbacc5d9b
mov dword [ebp - 0x28], ebx
jmp 0x1003da2c
mov dword [ebp - 0x1c], 0xb77278fa
mov dword [ebp - 0x1c], ebx
jmp 0x1003da24
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x130], 0x90a3cfce
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003da13
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], ecx
jle 0x1003da07
mov eax, dword [ebp - 0xa0]
dec dword [eax]
jns 0x1003d9fb
lea ecx, [ebp - 0xa0]
call fcn.10021dfc
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 2
jle 0x1003d9c9
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x17
jg 0x1003d9aa
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [0x1007563c]
inc eax
cmp byte [ebp - 0x40], 0
mov dword [ebp - 0x44], edx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
je 0x1003dbc3
cmp edx, eax
jne 0x1003dbc3
mov dword [ecx + 8], 4
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x20], 0x4e064826
mov dword [ebp - 0x30], 0xfffc
mov dword [ebp - 0x28], ebx
push edi
call fcn.10021d7a
mov dword [ebp - 0x24], 9
xor edx, edx
mov dword [ebp - 0x2c], 0xffffffff
inc edx
mov dword [ebp - 0x20], ebx
jmp 0x1003dad4
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4c], 0xfffffffb
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edx
jl 0x1003dac6
mov dword [ebp - 0x20], ebx
jmp 0x1003daf1
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xe8]
mov dword [eax + ecx*4], 0xffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1003dade
mov dword [ebp - 0x20], ebx
jmp 0x1003db63
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], ebx
jmp 0x1003db15
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x7c], 0xdb34e6d4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003db07
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
je 0x1003db28
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setl dl
sub edx, eax
je 0x1003db4e
cmp dword [ebp - 0x78], ebx
je 0x1003db4e
xor edx, edx
inc edx
mov esi, edx
jmp 0x1003db53
xor edx, edx
mov esi, ebx
inc edx
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
cmp eax, esi
setg cl
mov dword [ebp - 0x4c], ecx
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff1
jle 0x1003dafb
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x28], ebx
je 0x1003db74
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x28], ebx
jne 0x1003db86
cmp dword [ebp - 0x30], ebx
jne 0x1003db86
mov edx, ebx
mov eax, dword [ebp - 0xe8]
mov ecx, 0xc46d767c
mov dword [eax + 4], edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x4c]
sbb ecx, ecx
neg ecx
add eax, ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x2c], eax
call fcn.10021dfc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc], 0x1007563c
xor eax, eax
inc eax
mov esi, dword [ebp - 0x34]
cmp esi, edx
jge 0x1003e566
mov dword [ebp - 0x20], 0xfffffffa
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0xf6d4a0d4
mov dword [ebp - 0x38], 0x1dfe936b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], ebx
je 0x1003dbf2
mov ecx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 7
jmp 0x1003dc35
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003dc32
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jg 0x1003dc22
mov eax, 0x10075640
mov dword [ebp - 0x1c], 0xfffffffa
push 2
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
call fcn.10021d7a
mov dword [ebp - 0x24], 0xb1891f78
mov dword [ebp - 0x28], ebx
jmp 0x1003dc78
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xd0]
mov dword [eax + ecx*4], 0x16df251d
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jl 0x1003dc65
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xd0]
mov dword [eax], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0xfffffffe
jmp 0x1003dca4
mov dword [ebp - 0x24], 0x8306
cmp dword [ebp - 0x24], ebx
jne 0x1003dcaa
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe5
jg 0x1003dc95
lea ecx, [ebp - 0xd0]
call fcn.10021dfc
test esi, esi
jle 0x1003dfb7
push edi
lea ecx, [ebp - 0x118]
call fcn.10021d7a
push 2
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], edi
call fcn.10021d7a
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x1003dcf8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x118]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003dce9
mov dword [ebp - 0x14], ebx
jmp 0x1003dd15
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov dword [eax + ecx*4], 0xba394643
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1003dd02
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003dd39
push 0x371
push 0x762
push 0x865
call dword [sym.imp.USER32.dll_EnableScrollBar]
mov eax, dword [ebp - 0x88]
mov dword [eax], ebx
push edi
lea ecx, [ebp - 0x100]
call fcn.10021d7a
mov dword [ebp - 0x1c], ebx
jmp 0x1003dd65
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x100]
mov dword [eax + ecx*4], 0xc15d0d65
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003dd52
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003dd80
xor eax, eax
inc eax
push eax
push ebx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x100]
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
call fcn.10021dfc
inc dword [esi]
cmp dword [esi], 2
jle 0x1003dd41
lea ecx, [ebp - 0x88]
call fcn.10021dfc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.10021dfc
mov ecx, dword [ebp - 0x20]
push 4
mov eax, dword [ecx]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x3c], eax
call fcn.10021d7a
xor esi, esi
mov dword [ebp - 0x1c], 0x532fe223
mov dword [ebp - 0x1c], ebx
inc esi
cmp dword [ebp - 0x1c], 4
jge 0x1003ddf0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xdc]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x1c]
jmp 0x1003ddd9
mov dword [ebp - 0x1c], ebx
jmp 0x1003de3b
mov dword [ebp - 0x28], ebx
jmp 0x1003de08
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x64], 4
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], edi
jl 0x1003ddfa
mov dword [ebp - 0x5c], ebx
jmp 0x1003de25
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003de22
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], edi
jle 0x1003de12
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xdc]
cmp dword [eax + ecx*4], ebx
jne 0x1003de40
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x1003ddf5
lea ecx, [ebp - 0xdc]
call fcn.10021dfc
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x14], 0x37a9a971
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], 0x74de
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0xc45c
mov eax, dword [ebp - 0x14]
setge dl
mov dword [ebp - 0x30], ecx
neg edx
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x14]
setl cl
xor edx, edx
imul ecx, ecx, 0x72b5
cmp ecx, eax
setge dl
sub edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x14]
jl 0x1003dea3
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1003dea5
mov edx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setge cl
sub ecx, dword [ebp - 0x14]
add ecx, 5
jne 0x1003debc
cmp dword [ebp - 0x14], ebx
je 0x1003debe
mov ebx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x14]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setle bl
xor ecx, ecx
cmp ebx, eax
setge cl
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], 0xffffffeb
cmp dword [ebp - 0x14], 0xffffffec
jge 0x1003df97
mov dword [ebp - 0x2c], ebx
xor edx, edx
mov dword [ebp - 0x1c], 0xa5d87207
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setge dl
cmp edx, dword [ebp - 0x2c]
jl 0x1003df32
mov dword [ebp - 0x2c], 0xd955a619
cmp dword [ebp - 0x24], ebx
jne 0x1003df97
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jmp 0x1003df67
mov dword [ebp - 0x1c], 0x1b
jmp 0x1003df61
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x1003df4a
push ebx
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x1003df5e
push ebx
push 0x1a46
call dword [sym.imp.USER32.dll_EndPaint]
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xfffffff9
jne 0x1003df3b
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x1003df8f
push ebx
push 0x355
push 0x2254
push 0xe1f
push 0x2525
push 0x4e0
call dword [sym.imp.GDI32.dll_PatBlt]
inc dword [ebp - 0x14]
jmp 0x1003def2
cmp dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
jne 0x1003dfa3
add eax, 8
add eax, dword [ebp - 0x3c]
dec dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
jne 0x1003dcbd
jmp 0x1003dfba
xor esi, esi
inc esi
mov dword [ebp - 0x14], 0x2e91a04
lea ecx, [ebp - 0x94]
push esi
call fcn.10021d7a
xor edx, edx
mov dword [ebp - 0x1c], ebx
inc edx
jmp 0x1003dfe4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x1003dfd5
mov dword [ebp - 0x14], 0x15
cmp dword [ebp - 0x14], 0xffffffec
jl 0x1003e044
mov dword [ebp - 0x24], 0x3e19
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x38], 0xf25db2b0
mov dword [ebp - 0x24], edx
xor edx, edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov eax, dword [ebp - 0x94]
setle dl
xor ebx, ebx
cmp edx, 0x51ef9953
push 1
setle bl
xor ecx, ecx
cmp ebx, dword [eax]
pop edx
setl cl
mov dword [ebp - 0x38], ecx
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffec
jge 0x1003dff6
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x14], ebx
inc esi
cmp dword [ebp - 0x14], ebx
jg 0x1003e0a6
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003e06e
push ebx
push 0xc0f
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x94]
cmp dword [eax + ecx*4], ebx
jne 0x1003e0a6
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], ebx
jl 0x1003e0a1
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003e096
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x34]
jns 0x1003e084
inc dword [ebp - 0x14]
jmp 0x1003e04a
lea ecx, [ebp - 0x94]
call fcn.10021dfc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], 0x7689
mov dword [ebp - 0x38], 0x25260
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], 0xde6f885e
mov dword [ebp - 0x14], 0xd94e8fe7
mov dword [ebp - 0x1c], 0xb0ad8ea5
mov dword [ebp - 0x38], 0x524a
cmp dword [ebp - 0x38], 0x525a
mov dword [ebp - 0x28], eax
jle 0x1003e130
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov ebx, esi
mov esi, 0x4553
mov eax, ebx
mov ecx, 0x106165b8
and eax, edi
cdq
push edx
push eax
call fcn.10021c65
dec ebx
dec esi
jne 0x1003e0fd
mov esi, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, 0x7069
jl 0x1003e0f6
inc edi
push 0
pop ebx
cmp edi, 0x4e2c
jl 0x1003e0f1
push 3
pop edi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 5
cmp dword [ebp - 0x38], 0x5210
jge 0x1003e17d
mov edx, 0x10008a20
mov ecx, 0x106165b8
call fcn.1002532f
jmp 0x1003e17d
or dword [ebp - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x34], 0xffffffff
inc edx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
sub eax, 0xfffffffc
neg eax
push 9
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xfffffffd
pop eax
setne cl
cmp eax, ecx
mov ecx, dword [ebp - 0x14]
sbb eax, eax
inc eax
sub ecx, eax
xor eax, eax
imul ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x3c]
cmp ecx, 0x321a0783
setge al
add eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
dec dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0xd33d2afd
jbe 0x1003e1f0
mov eax, ebx
cmp dword [ebp - 0x34], ebx
je 0x1003e1f2
mov eax, edx
cmp eax, dword [ebp - 0x30]
jne 0x1003e1fe
mov esi, ebx
cmp dword [ebp - 0x3c], ebx
je 0x1003e200
mov esi, edx
mov eax, dword [ebp - 0x3c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x3c]
imul ecx, esi
sub ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
sub ecx, 0x10f7
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
je 0x1003e2a2
mov dword [ebp - 0x30], 0xebe6634
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x24], 0x1837def5
mov dword [ebp - 0x24], 8
cmp dword [ebp - 0x30], ebx
je 0x1003e264
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
jne 0x1003e266
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, 6
setle al
xor edx, edx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setl dl
add edx, 0x3fa9a180
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x1003e342
mov dword [ebp - 0x34], 8
lea ecx, [ebp - 0xc4]
push edi
call fcn.10021d7a
mov dword [ebp - 0x30], ebx
jmp 0x1003e2c9
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc4]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], edi
jl 0x1003e2ba
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
sub ecx, 0x64e3
je 0x1003e2f9
cmp dword [ebp - 0x34], ebx
je 0x1003e2f9
xor eax, eax
inc eax
jmp 0x1003e2fb
mov eax, ebx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x1003e30c
cmp dword [ebp - 0x34], ebx
jne 0x1003e30c
mov esi, ebx
jmp 0x1003e30f
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
push 0xfffffffffffffffc
setg dl
xor eax, eax
cmp edx, esi
pop ecx
setge al
imul eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0xc4]
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
lea ecx, [ebp - 0xc4]
call fcn.10021dfc
add dword [ebp - 0x20], 4
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x14], 0x61928c17
mov dword [ebp - 0x2c], 0xc752f67d
mov dword [ebp - 0x24], 2
push edi
call fcn.10021d7a
mov dword [ebp - 0x30], ebx
jmp 0x1003e37f
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xac]
mov dword [eax + ecx*4], 0xb6917ab6
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], edi
jl 0x1003e36c
mov dword [ebp - 0x14], 5
jmp 0x1003e3ab
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003e3a8
push ebx
push 0x1e34
push 0x25a2
push ebx
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe6
jge 0x1003e38d
cmp dword [ebp - 0x14], ebx
je 0x1003e3d1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xac]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0xac]
cmp dword [eax + 4], 0xad53a38d
jne 0x1003e3ec
cmp dword [ebp - 0x24], ebx
jne 0x1003e3ec
mov esi, ebx
jmp 0x1003e3ef
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0xac]
call fcn.10021dfc
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x14], 0x6dd1e1e8
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
jmp 0x1003e427
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10c], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003e41a
mov dword [ebp - 0x14], ebx
jmp 0x1003e43f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], 9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1003e431
mov dword [ebp - 0x14], ebx
jmp 0x1003e45a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10c], 0xfffffff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003e449
xor edx, edx
mov edi, 0xf7d6
mov dword [ebp - 0x104], edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x32a8
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp eax, edx
setge cl
xor eax, eax
cmp ecx, edi
setg al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
sub eax, 8
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x54], eax
test esi, esi
jne 0x1003e566
inc esi
cmp byte [ebp - 0x40], 0
je 0x1003e4c4
cmp dword [ebp - 0x44], esi
jne 0x1003e4c4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
add eax, 0x10
add dword [ecx + 8], eax
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], ecx
call fcn.10051b83
pop ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.10042d22
mov eax, dword [ebp - 0x28]
mov edi, ebx
mov ecx, dword [ebp - 0x70]
test eax, eax
jle 0x1003e550
mov eax, edi
and eax, 0x80000001
jns 0x1003e519
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x54]
add eax, edi
add eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x50]
jmp 0x1003e52e
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x28]
cmp word [ecx + edx*2], bx
jne 0x1003e52b
mov eax, dword [ebp - 0x20]
mov word [ecx + edx*2], si
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x2c]
mov byte [edi + edx], al
inc edi
mov eax, dword [ebp - 0x28]
cmp edi, eax
jl 0x1003e50b
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 4], eax
test ecx, ecx
je 0x1003e566
push ecx
call fcn.100568e7
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret