Function at 0x100405e1
Capabilities:
Terminate process

Disassembly:
mov eax, 0x10063e0f
call fcn.10062db0
sub esp, 0x17c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x58], edx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x94], ecx
cmp dword [ecx + 0x10], ebx
jne 0x1004060e
xor al, al
jmp 0x10041680
mov dword [ebp - 0x14], ebx
jmp 0x10040624
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x100], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10040613
xor esi, esi
mov dword [ebp - 0x1c], 0x1915
inc esi
cmp dword [ebp - 0x1c], 0x1add
jle 0x100406c5
mov edi, ebx
mov dword [ebp - 0x18], edi
mov eax, ebx
mov dword [ebp - 0x14], ebx
mov edx, edi
mov ecx, eax
shl edx, cl
mov edi, ebx
mov dword [ebp - 0x28], edx
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov eax, edi
shl eax, cl
lea ecx, [ebp - 0x170]
xor eax, edx
cdq
push edx
push eax
call fcn.1000db9a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10040679
mov eax, dword [eax]
push eax
call fcn.1004de26
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x170]
call fcn.1001bbfd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x4a82
jl 0x1004065b
inc edi
cmp edi, 0x4903
jl 0x10040656
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x6ce8
jl 0x1004064b
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0xfad
jl 0x10040646
mov byte [ebp - 0x1d], bl
cmp dword [ebp - 0x1c], 0x17ce
jge 0x100406dc
push 0x1000bdc8
call fcn.1004de26
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x1d], bl
je 0x100406ed
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x100406fc
push ebx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push 0x8d8
push 0x5912
lea eax, [ebp - 0x58]
push eax
push esi
push ebx
push ebx
push 0x78fa
call fcn.10041964
add esp, 0x1c
push 0xfffffffffffffffc
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], ebx
jmp 0x10040736
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], 0xae355683
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10040728
xor edx, edx
inc edx
mov dword [ebp - 0x14], edx
push 3
pop edi
cmp dword [ebp - 0x14], ebx
jl 0x1004096f
mov dword [ebp - 0x1c], 0x9ea9831
mov dword [ebp - 0x18], ebx
jmp 0x1004076b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x84], 0xfffffff9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1004075a
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], edx
jg 0x100408f2
mov dword [ebp - 0x18], 0xfffffff6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x48], ecx
xor ecx, ecx
imul eax, dword [ebp - 0x48], 0xbc9f
cmp eax, edx
setle cl
neg ecx
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jne 0x100407b2
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
cmp dword [ebp + eax*4 - 0x48], ebx
je 0x100407b4
mov ecx, edx
mov dword [ebp - 0x84], ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x48]
cmp eax, edx
setne cl
xor edx, edx
inc edx
cmp edx, ecx
sbb eax, eax
neg eax
add eax, dword [ebp - 0x48]
je 0x100407e8
cmp dword [ebp - 0x84], ebx
jne 0x100407ea
mov edx, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
sete cl
cmp ecx, 0x3d62a04f
jl 0x100408c4
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x1004081a
push ebx
push ebx
push 0xf48
push 0x171f
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov dword [ebp - 0x18], ebx
inc esi
cmp dword [ebp - 0x18], 2
jg 0x100408e7
mov dword [ebp - 0x2c], 0x2494
cmp dword [ebp - 0x2c], 0x2830
jle 0x10040892
mov edi, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], 0x20d9
mov eax, edi
lea ecx, [ebp - 0x128]
cdq
push edx
push eax
call fcn.1000db9a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10040863
mov eax, dword [eax]
push eax
call fcn.1004de26
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x128]
call fcn.1001bbfd
dec edi
dec dword [ebp - 0x24]
jne 0x10040849
mov edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
cmp edi, 0x55c8
jl 0x1004083f
call dword [sym.imp.USER32.dll_CreateMenu]
cmp dword [ebp - 0x2c], 0x20c5
jge 0x100408a6
push 0x1000be08
call fcn.1004de26
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x84], ebx
jne 0x100408e7
mov eax, dword [ebp - 0x84]
inc dword [ebp - 0x18]
jmp 0x10040820
mov dword [ebp - 0x18], ebx
jmp 0x100408e1
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], bl
je 0x100408de
push ebx
push ebx
push 0x1de3
call dword [sym.imp.ADVAPI32.dll_CopySid]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jle 0x100408c9
inc dword [ebp - 0x1c]
xor edx, edx
inc edx
jmp 0x10040773
cmp dword [ebp - 0x44], ebx
je 0x10040942
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
sbb ecx, ecx
neg ecx
add eax, ecx
mov ecx, dword [ebp - 0x44]
imul ecx, eax
test ecx, ecx
jne 0x10040914
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x84]
cmp eax, ecx
setl dl
xor eax, eax
cmp edx, 0xfffffff9
setge al
cmp eax, dword [ebp - 0x7c]
jg 0x10040942
xor esi, esi
inc esi
jmp 0x10040944
mov esi, ebx
mov eax, dword [ebp - 0x84]
xor ecx, ecx
cmp esi, 0x2560
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x80]
setge dl
sub edx, eax
mov dword [ebp - 0x1c], edx
xor edx, edx
dec dword [ebp - 0x14]
inc edx
jmp 0x10040742
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], ebx
jmp 0x10040988
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], 0xae355683
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1004097a
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x35300547
mov dword [ebp - 0x30], 0x903f87fb
mov dword [ebp - 0x14], ebx
jmp 0x100409c1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x100409b3
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
cmp eax, edx
mov eax, 0xa0193208
setle cl
cmp eax, ecx
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x6c]
jge 0x100409ed
cmp dword [ebp - 0x1c], ebx
jne 0x100409ef
mov edx, ebx
mov eax, dword [ebp - 0x6c]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x6c]
cmp eax, ecx
setge dl
xor eax, eax
cmp edx, 0x7497f3c8
setne al
xor esi, esi
add eax, 0x1293cb0f
inc esi
cmp esi, eax
mov eax, dword [ebp - 0x6c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp eax, ecx
mov eax, dword [ebp - 0x6c]
setle dl
add eax, edx
je 0x10040b3a
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x6ab81d4b
mov dword [ebp - 0x18], 0x384f7a32
mov dword [ebp - 0x34], 0x58efe572
mov dword [ebp - 0x1c], ebx
jmp 0x10040b2c
mov dword [ebp - 0x14], 0x19c3
mov dword [ebp - 0x34], 0x7dbc8b69
mov dword [ebp - 0x30], 9
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], ebx
je 0x10040adb
cmp dword [ebp - 0x24], ebx
je 0x10040adb
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x18], eax
inc edx
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x28]
cmp eax, ecx
mov eax, edx
jge 0x10040ab7
mov eax, ebx
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
setle cl
mov dword [ebp + eax*4 - 0x3c], ecx
test ecx, ecx
jne 0x10040acc
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], ebx
je 0x10040ad7
mov eax, dword [ebp - 0x18]
mov ecx, edx
jmp 0x10040ae0
xor edx, edx
mov ecx, ebx
inc edx
mov eax, dword [ebp - 0x6c]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x70], ecx
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x14]
jg 0x10040aff
mov eax, ebx
cmp dword [ebp - 0x24], ebx
je 0x10040b01
mov eax, edx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x10040b0e
cmp dword [ebp - 0x14], ebx
jne 0x10040b10
mov edx, ebx
mov eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + eax*4 - 0x3c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x3c], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x10040a74
jmp 0x10040c3a
mov dword [ebp - 0x28], 0x45e4bba
mov dword [ebp - 0x18], ebx
jmp 0x10040b57
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xec], 0xe253e14d
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10040b46
mov dword [ebp - 0x18], ebx
jmp 0x10040b6e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x108], edi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10040b61
mov eax, dword [ebp - 0x28]
xor edx, edx
imul eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul eax, eax, 0x8c2b
sub ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, 0xa35eb253
setge dl
cmp eax, edx
sbb eax, eax
neg eax
cmp eax, 0x1d8
jl 0x10040ba9
cmp dword [ebp - 0x30], ebx
jne 0x10040ba9
mov esi, ebx
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setg dl
xor ecx, ecx
cmp esi, eax
setne cl
cmp edx, ecx
jne 0x10040c26
mov dword [ebp - 0x30], 0xb46d8feb
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x30], 0x49e1f9a5
push 2
call fcn.1001b7ad
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], 0x1e514d86
mov dword [ebp - 0x14], ebx
jmp 0x10040bfd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc8]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10040bee
inc dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp eax, ecx
lea ecx, [ebp - 0xc8]
setl dl
mov dword [ebp - 0xec], edx
call fcn.1001b82f
jmp 0x10040c3a
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], al
je 0x10040c3a
push ebx
push 0x1cb1
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edx, edx
inc edx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x10040f3f
mov dword [ebp - 0x18], 0x9ea9831
mov dword [ebp - 0x18], ebx
jmp 0x10040c66
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x90], 0xfffffff9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10040c55
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], edx
jg 0x10040eb9
mov dword [ebp - 0x1c], 0xfffffff6
mov dword [ebp - 0x2c], 0x25ab
cmp dword [ebp - 0x2c], 0x2624
jle 0x10040ced
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea ecx, [eax + ebx]
mov eax, edi
sar eax, cl
mov ecx, 0x1060c3d8
xor eax, esi
cdq
push edx
push eax
call fcn.1001b57c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x20f2
jl 0x10040c9d
inc ebx
push 0
mov dword [ebp - 0x24], ebx
cmp ebx, 0xeb5
pop ebx
jl 0x10040c95
inc edi
cmp edi, 0x4ae1
jl 0x10040c92
inc esi
cmp esi, 0x90c
jl 0x10040c90
push 0x428
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x50], ecx
mov dword [ebp - 4], 4
cmp dword [ebp - 0x2c], 0x2271
jge 0x10040d19
mov edx, 0x1000be5c
mov ecx, 0x1060c3d8
call fcn.1001da87
xor edx, edx
inc edx
or dword [ebp - 4], 0xffffffff
imul eax, dword [ebp - 0x50], 0xbc9f
xor ecx, ecx
cmp eax, edx
setle cl
neg ecx
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
jne 0x10040d42
mov eax, dword [ebp - 0x18]
mov ecx, ebx
cmp dword [ebp + eax*4 - 0x50], ebx
je 0x10040d44
mov ecx, edx
mov dword [ebp - 0x90], ecx
xor edx, edx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x50]
cmp eax, edx
setne cl
xor edx, edx
inc edx
cmp edx, ecx
sbb eax, eax
neg eax
add eax, dword [ebp - 0x50]
je 0x10040d7a
mov esi, edx
cmp dword [ebp - 0x90], ebx
jne 0x10040d7c
mov esi, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp esi, eax
sete cl
cmp ecx, 0x3d62a04f
jl 0x10040df0
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x10040d9f
call fcn.1004017c
xor edx, edx
inc edx
mov dword [ebp - 0x1c], ebx
jmp 0x10040de5
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x90], ebx
jne 0x10040eb1
mov eax, dword [ebp - 0x90]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x10040dcc
jmp 0x10040eb1
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 2
jg 0x10040eae
mov dword [ebp - 0x24], 0x7f31
cmp dword [ebp - 0x24], 0x7fc8
jle 0x10040e53
mov edi, ebx
mov esi, ebx
mov eax, edi
mov ecx, ebx
cdq
idiv esi
mov dword [ebp - 0x2c], ecx
mov eax, edx
mov dword [ebp - 0x30], eax
or eax, ecx
mov ecx, 0x1060c3d8
cdq
push edx
push eax
call fcn.1001b57c
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x524e
jl 0x10040e20
inc esi
cmp esi, 0x2de6
jl 0x10040e11
inc edi
cmp edi, 0x1e83
jl 0x10040e0f
mov byte [ebp - 0x1d], bl
mov dword [ebp - 4], 6
cmp dword [ebp - 0x24], 0x7d5c
jge 0x10040e75
mov edx, 0x1000bea8
mov ecx, 0x1060c3d8
call fcn.1001da87
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x1d], 0
je 0x10040e84
call fcn.10040191
inc dword [ebp - 0x1c]
jmp 0x10040df3
xor edx, edx
inc edx
inc dword [ebp - 0x18]
jmp 0x10040c6e
cmp dword [ebp - 0x4c], ebx
je 0x10040f0c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x4c], 0xffffffff
mov eax, dword [ebp - 0x4c]
sbb ecx, ecx
neg ecx
add eax, ecx
mov ecx, dword [ebp - 0x4c]
imul ecx, eax
test ecx, ecx
jne 0x10040edb
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x90]
cmp eax, ecx
setl dl
xor eax, eax
cmp edx, 0xfffffff9
setge al
cmp eax, dword [ebp - 0x88]
jg 0x10040f0c
xor esi, esi
inc esi
jmp 0x10040f0e
mov esi, ebx
mov eax, dword [ebp - 0x90]
xor ecx, ecx
cmp esi, 0x2560
push 3
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x8c]
pop edi
setge dl
sub edx, eax
mov dword [ebp - 0x18], edx
xor edx, edx
dec dword [ebp - 0x14]
inc edx
jmp 0x10040c40
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x30], 0x8993
mov dword [ebp - 0x14], ebx
jmp 0x10040f63
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf8], 0x8a012e1d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10040f52
mov dword [ebp - 0x18], 0xfffffffd
cmp dword [ebp - 0x18], 0x17
jl 0x10041073
mov esi, 0xc0b333ee
mov dword [ebp - 0x14], 0xa3df603f
mov dword [ebp - 0x1c], 0x1e29ea41
mov dword [ebp - 0x2c], 0x8376fbfc
mov dword [ebp - 0x14], 0xfffffff9
jmp 0x10040fb2
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x17
je 0x10040f9c
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], ebx
jl 0x10041066
push edi
lea ecx, [ebp - 0xa4]
call fcn.1001b7ad
mov dword [ebp - 0x14], ebx
jmp 0x10040fec
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10040fd9
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0xf8]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 4]
add ecx, dword [eax]
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx, 0x7d1
xor ecx, ecx
cmp eax, 0x53fc
mov eax, dword [ebp - 0x2c]
setg cl
cmp esi, ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setle dl
xor ecx, ecx
cmp eax, edx
setne cl
imul eax, ecx, 0xfffffff8
cmp eax, 0xfffffff9
mov eax, dword [ebp - 0x2c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
lea ecx, [ebp - 0xa4]
setle dl
xor eax, eax
cmp edx, 0xfffffff8
setg al
mov dword [ebp - 0x14], eax
call fcn.1001b82f
dec dword [ebp - 0x1c]
jns 0x10040fc8
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x17
jge 0x10040f7e
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x14], 0x10
jb 0x10041089
mov ecx, dword [eax]
jmp 0x1004108b
mov ecx, eax
xor esi, esi
inc esi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x54], ecx
jb 0x1004109b
mov edx, dword [eax]
jmp 0x1004109d
mov edx, eax
mov eax, dword [eax + 0x10]
add eax, edx
cmp ecx, eax
je 0x1004167e
mov al, byte [ecx]
cmp al, 0x30
jl 0x10041658
cmp al, 0x39
jg 0x10041658
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], 0x35300547
mov dword [ebp - 0x34], 0x903f87fb
mov dword [ebp - 0x28], 0x53bc
cmp dword [ebp - 0x28], 0x5555
jle 0x10041141
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x5ffc
mov eax, edi
lea ecx, [ebp - 0x140]
cdq
push edx
push eax
call fcn.1000db9a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10041115
mov eax, dword [eax]
push eax
call fcn.1004de26
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x140]
call fcn.1001bbfd
dec edi
dec dword [ebp - 0x2c]
jne 0x100410fb
mov edi, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x3c32
jl 0x100410f1
push 3
pop edi
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x10041157
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10041149
cmp dword [ebp - 0x28], 0x5172
jge 0x10041173
push 0x1000bf00
call fcn.1004de26
xor edx, edx
pop ecx
inc edx
or dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
cmp eax, edx
mov eax, 0xa0193208
setle cl
cmp eax, ecx
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x5c]
jge 0x1004119e
cmp dword [ebp - 0x1c], ebx
jne 0x100411a0
mov edx, ebx
mov eax, dword [ebp - 0x5c]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x5c]
cmp eax, ecx
setge dl
xor eax, eax
cmp edx, 0x7497f3c8
setne al
xor esi, esi
add eax, 0x1293cb0f
inc esi
cmp esi, eax
mov eax, dword [ebp - 0x5c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp eax, ecx
mov eax, dword [ebp - 0x5c]
setle dl
add eax, edx
je 0x100412f2
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], 0x6ab81d4b
mov dword [ebp - 0x28], 0x384f7a32
mov dword [ebp - 0x30], 0x58efe572
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jg 0x100413f2
mov dword [ebp - 0x14], 0x19c3
mov dword [ebp - 0x30], 0x7dbc8b69
mov dword [ebp - 0x2c], 9
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ebx
je 0x10041290
cmp dword [ebp - 0x18], ebx
je 0x10041290
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [ebp - 0x28], eax
inc edx
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
inc dword [ebp - 0x24]
cmp eax, ecx
mov eax, edx
jge 0x1004126c
mov eax, ebx
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
setle cl
mov dword [ebp + eax*4 - 0x38], ecx
test ecx, ecx
jne 0x10041281
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], ebx
je 0x1004128c
mov eax, dword [ebp - 0x28]
mov ecx, edx
jmp 0x10041295
xor edx, edx
mov ecx, ebx
inc edx
mov eax, dword [ebp - 0x5c]
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x60], ecx
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x14]
jg 0x100412b4
mov eax, ebx
cmp dword [ebp - 0x18], ebx
je 0x100412b6
mov eax, edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
je 0x100412c3
cmp dword [ebp - 0x14], ebx
jne 0x100412c5
mov edx, ebx
mov eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x38], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x10041229
xor esi, esi
inc esi
jmp 0x100413f2
mov dword [ebp - 0x28], 0x45e4bba
mov dword [ebp - 0x18], ebx
jmp 0x1004130f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd4], 0xe253e14d
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x100412fe
mov dword [ebp - 0x18], ebx
jmp 0x10041326
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x110], edi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10041319
mov eax, dword [ebp - 0x28]
xor edx, edx
imul eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul eax, eax, 0x8c2b
sub ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, 0xa35eb253
setge dl
cmp eax, edx
sbb eax, eax
neg eax
cmp eax, 0x1d8
jl 0x10041361
mov edi, ebx
cmp dword [ebp - 0x34], ebx
je 0x10041363
mov edi, esi
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setg dl
xor ecx, ecx
cmp edi, eax
setne cl
cmp edx, ecx
jne 0x100413e4
mov dword [ebp - 0x30], 0xb46d8feb
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x30], 0x49e1f9a5
push 2
call fcn.1001b7ad
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], 0x1e514d86
mov dword [ebp - 0x14], ebx
jmp 0x100413bb
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xbc]
mov dword [eax + ecx*4], 3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x100413a8
inc dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp eax, ecx
lea ecx, [ebp - 0xbc]
setl dl
mov dword [ebp - 0xd4], edx
call fcn.1001b82f
jmp 0x100413f2
mov byte [ebp - 0x1d], bl
cmp byte [ebp - 0x1d], 0
je 0x100413f2
call fcn.100404e5
push ebx
push 0x2e16
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10042cd9
mov dword [ebp - 0x40], 4
add esp, 0x10
mov dword [ebp - 0x2c], 0x4d69
cmp dword [ebp - 0x2c], 0x4de1
jle 0x10041484
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov eax, edi
xor eax, ecx
lea ecx, [ebp - 0x158]
cdq
push edx
push eax
call fcn.1000db9a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10041442
mov eax, dword [eax]
push eax
call fcn.1004de26
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x158]
call fcn.1001bbfd
mov ecx, dword [ebp - 0x24]
inc edi
cmp edi, 0x362b
jl 0x10041426
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x2e5c
jl 0x10041424
push ebx
push 0x161c
push 0x8d5
push 0x1a2c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov dword [ebp - 0x30], 0x8993
cmp dword [ebp - 0x2c], 0x4c53
jge 0x1004149f
push 0x1000bf58
call fcn.1004de26
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x1baa
cmp dword [ebp - 0x2c], 0x1c2c
jle 0x10041502
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov edi, ebx
mov eax, edi
and eax, ecx
lea ecx, [ebp - 0x188]
cdq
push edx
push eax
call fcn.1000db9a
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100414d6
mov eax, dword [eax]
push eax
call fcn.1004de26
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x188]
call fcn.1001bbfd
mov ecx, dword [ebp - 0x24]
inc edi
cmp edi, 0x49a9
jl 0x100414ba
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x6b98
jl 0x100414b8
push 3
mov dword [ebp - 0x14], ebx
pop edi
jmp 0x1004151b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xe0], 0x8a012e1d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1004150a
cmp dword [ebp - 0x2c], 0x1aab
jge 0x10041534
push 0x1000bf98
call fcn.1004de26
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], 0xfffffffd
jmp 0x1004163f
mov dword [ebp - 0x14], 0xa3df603f
mov dword [ebp - 0x18], 0x1e29ea41
mov dword [ebp - 0x2c], 0x8376fbfc
mov dword [ebp - 0x14], 0xfffffff9
jmp 0x10041583
mov dword [ebp - 0x98], 0xffffffff
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x18], eax
call fcn.1004056e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x17
je 0x10041562
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], ebx
jl 0x1004163c
push edi
lea ecx, [ebp - 0xb0]
call fcn.1001b7ad
mov dword [ebp - 0x14], ebx
jmp 0x100415bd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb0]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x100415aa
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xe0]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 4]
add ecx, dword [eax]
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx, 0x7d1
xor ecx, ecx
cmp eax, 0x53fc
mov eax, 0xc0b333ee
setg cl
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setle dl
xor ecx, ecx
cmp eax, edx
setne cl
imul eax, ecx, 0xfffffff8
cmp eax, 0xfffffff9
mov eax, dword [ebp - 0x2c]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
xor eax, eax
cmp ecx, 0xfffffff8
lea ecx, [ebp - 0xb0]
setg al
mov dword [ebp - 0x14], eax
call fcn.1001b82f
dec dword [ebp - 0x18]
jns 0x10041599
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0x17
jge 0x10041544
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x94]
inc ecx
jmp 0x1004108e
push 0x71ae
lea eax, [ebp - 0x58]
xor edx, edx
push eax
push 0x11e3
inc edx
push edx
push ebx
push edx
push 0x667
call fcn.10041964
add esp, 0x1c
jmp 0x10040607
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret