Function at 0x1004f0c5
Capabilities:
Extract resource via kernel32 functions
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10072915
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push esi
mov dword [esp + 0x2c], ecx
mov esi, edx
push edi
mov dword [esp + 0x18], 0xa1c1
xor edi, edi
mov dword [esp + 0x1c], 0x7cbae8b0
inc edi
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov dword [esp + 0x28], 0x6a191a83
mov dword [esp + 0x34], esi
mov dword [esp + 0xc], ebx
jmp 0x1004f12d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x158], 0x8cae2fe8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1004f11a
mov dword [esp + 0xc], ebx
jmp 0x1004f14d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x18c], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1004f13a
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
je 0x1004f169
mov ecx, edi
cmp dword [esp + 0x15c], ebx
jne 0x1004f16b
mov ecx, ebx
mov eax, dword [esp + 0x18]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, 0x986d
jne 0x1004f188
mov eax, ebx
cmp dword [esp + 0x15c], ebx
je 0x1004f18a
mov eax, edi
mov dword [esp + 0x1c], eax
xor edx, edx
mov ecx, dword [esp + 0x15c]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x18]
setne cl
neg ecx
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp dword [esp + 0x28], eax
setle cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18c]
sub ecx, eax
mov eax, dword [esp + 0x194]
imul edx, ecx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [esp + 0x15c]
setle cl
cmp ecx, 0xf3004570
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
mov dword [esp + 0x28], ecx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1004f222
push 0x22e9
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [0x16017a8c]
test al, 1
jne 0x1004f2c4
or eax, edi
mov dword [0x16017a8c], eax
push ebx
mov dword [esp + 0x220], ebx
push ebx
mov dword [0x16017ab0], ebx
mov dword [0x16017ab4], ebx
call fcn.10015f92
mov dword [0x16017ab0], eax
mov dword [0x16017ab8], ebx
mov dword [0x16017ac0], ebx
mov byte [esp + 0x21c], 2
mov ecx, 0x16017ab8
mov dword [esp + 0x114], eax
lea eax, [esp + 0x114]
push eax
push 0x10
push ebx
lea eax, [esp + 0x1b8]
mov dword [0x16017acc], 0x3f800000
push eax
mov dword [0x16017abc], ebx
call fcn.10015d3f
push 0x10072c76
mov dword [0x16017ac4], 7
mov dword [0x16017ac8], 8
call fcn.1005803c
or dword [esp + 0x220], 0xffffffff
pop ecx
imul eax, dword [esp + 0x30], 0x2710
lea ecx, [esp + 0xa8]
push 4
add eax, esi
mov dword [esp + 0x80], eax
call fcn.10009afa
mov dword [esp + 0x21c], 3
mov dword [esp + 0x1c], 0xccd2466e
mov dword [esp + 0x18], ebx
jmp 0x1004f312
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xa8]
mov dword [eax + ecx*4], 0x4e064826
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 4
jl 0x1004f2fc
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x28], esi
mov dword [esi + 8], ebx
push 3
lea ecx, [esp + 0x40]
call fcn.10009afa
mov byte [esp + 0x21c], 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
jmp 0x1004f353
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1004f344
push 2
pop ecx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], ebx
jl 0x1004f4fd
mov dword [esp + 0x24], 0xdc9ed9ba
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x24], ebx
jl 0x1004f4ef
mov dword [esp + 0x20], 0xd9ee1c97
mov dword [esp + 0x18], ebx
jmp 0x1004f3a2
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x1f4], 0x2afd77cc
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 3
jl 0x1004f38f
mov dword [esp + 0x20], ebx
jmp 0x1004f4db
push ecx
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0xa0]
call fcn.10009afa
mov dword [esp + 0x18], ebx
jmp 0x1004f3df
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x9c]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1004f3cd
mov dword [esp + 0xc], 2
cmp dword [esp + 0xc], ebx
jl 0x1004f40c
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [esp + 0xc]
jns 0x1004f3f4
mov dword [esp + 0xc], ebx
jmp 0x1004f49d
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f432
push 0x222e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp dword [esp + 0x24], ebx
jne 0x1004f480
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
sub ecx, 0x4c5530c4
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 8]
setne dl
imul edx, dword [eax + esi*4]
cmp edi, edx
jg 0x1004f47d
xor edi, edi
mov esi, ebx
inc edi
jmp 0x1004f482
xor edi, edi
inc edi
mov esi, edi
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0x3c]
cmp dword [eax + ecx*4], esi
sete dl
mov dword [esp + 0x1fc], edx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jle 0x1004f415
cmp dword [esp + 0x9c], 0
je 0x1004f4d4
push dword [esp + 0x9c]
call fcn.100581d7
pop ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
inc dword [esp + 0x20]
push 2
pop ecx
cmp dword [esp + 0x20], ecx
jle 0x1004f3b2
dec dword [esp + 0x24]
jns 0x1004f381
dec dword [esp + 0x14]
jns 0x1004f36b
mov esi, dword [esp + 0x28]
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f51c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov byte [esp + 0x21c], 3
cmp dword [esp + 0x3c], 0
je 0x1004f541
push dword [esp + 0x3c]
call fcn.100581d7
pop ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
inc dword [esi + 8]
cmp dword [esi + 8], 4
jle 0x1004f327
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f570
push 0x10ae
push 0x23bf
push ebx
push 0x1d4b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or dword [esp + 0x21c], 0xffffffff
push dword [esp + 0xa8]
call fcn.100581d7
pop ecx
lea eax, [esp + 0x7c]
mov dword [esp + 0xa8], ebx
push eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.10050b7b
mov esi, dword [eax]
mov dword [esp + 0x18], 0xdb3ae355
mov dword [esp + 0x28], 0x14c8
cmp dword [esp + 0x28], 0xe9b
mov dword [esp + 0x1c], esi
jge 0x1004f684
lea eax, [esp + 0x74]
mov ecx, 0x10663c70
push eax
call fcn.1001bc37
mov edx, 0x10007ba8
mov ecx, 0x10663bb8
call fcn.1000d12a
push eax
call fcn.1000d301
mov esi, dword [esp + 0x78]
pop ecx
test esi, esi
je 0x1004f67b
push 0xa
dec esi
lea ebx, [esp + 0x1d0]
pop edi
push ebx
mov ecx, 0x10663c70
call fcn.1001bc37
add ebx, 4
dec edi
jne 0x1004f604
mov eax, dword [esp + 0x1cc]
push edi
pop ebx
mov ecx, ebx
cmp eax, dword [esp + 0x1d0]
jge 0x1004f641
mov eax, dword [esp + ecx*4 + 0x1cc]
cmp eax, dword [esp + ecx*4 + 0x1d0]
jg 0x1004f65e
inc ecx
cmp ecx, 9
jl 0x1004f629
jmp 0x1004f657
mov eax, dword [esp + ecx*4 + 0x1cc]
cmp eax, dword [esp + ecx*4 + 0x1d0]
jl 0x1004f65e
inc ecx
cmp ecx, 9
jl 0x1004f641
mov edx, 0x10007bb8
jmp 0x1004f663
mov edx, 0x10007bc0
mov ecx, 0x10663bb8
call fcn.1000d12a
push eax
call fcn.1000d301
pop ecx
test esi, esi
jne 0x1004f5f9
xor edi, edi
inc edi
dec esi
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0xe8]
call fcn.10009afa
mov dword [esp + 0x14], ebx
jmp 0x1004f6aa
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xe4]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1004f697
mov dword [esp + 0x18], 0xffffffea
jmp 0x1004f701
mov dword [esp + 0x14], 0x98311173
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f6db
push ebx
push ebx
push 0x1399
push ebx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov dword [esp + 0x14], ebx
jmp 0x1004f6f7
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f6f3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x1004f6e1
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xd
jg 0x1004f6ba
cmp dword [esp + 0xe4], 0
je 0x1004f734
push dword [esp + 0xe4]
call fcn.100581d7
pop ecx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
test esi, esi
je 0x1004f82b
mov dword [esp + 0x20], 3
push 0xfffffffffffffffb
mov dword [esp + 0x124], esi
pop esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0x5cf1c946
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], ebx
jmp 0x1004f81b
mov dword [esp + 0x18], edi
lea ecx, [esp + 0xfc]
mov dword [esp + 0x1c], 0xaaf0a9b2
push 2
call fcn.10009afa
mov dword [esp + 0x14], ebx
jmp 0x1004f79d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xfc]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004f78b
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x18]
neg eax
sbb eax, eax
xor ecx, ecx
add eax, 0xe6f7fbf3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffff
mov eax, dword [esp + 0x18]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0xfc]
push eax
setl dl
mov dword [eax], edx
mov dword [esp + 0x2c], edx
call fcn.100581d7
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
dec dword [esp + 0x24]
pop ecx
cmp dword [esp + 0x20], 0xffffffe6
je 0x1004f76b
jmp 0x10050967
mov dword [esp + 0x2c], 2
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f85b
push edi
push 0x17c8
push 0x315
push 0x102
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollRange]
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004f874
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x16017a8c]
test al, 2
jne 0x1004f91c
or eax, 2
mov dword [0x16017a8c], eax
push ebx
mov dword [esp + 0x220], 5
push ebx
mov dword [0x16017a90], ebx
mov dword [0x16017a94], ebx
call fcn.10015f92
mov dword [0x16017a90], eax
mov dword [0x16017a98], ebx
mov dword [0x16017aa0], ebx
mov byte [esp + 0x21c], 7
mov ecx, 0x16017a98
mov dword [esp + 0x144], eax
lea eax, [esp + 0x144]
push eax
push 0x10
push ebx
lea eax, [esp + 0x124]
mov dword [0x16017aac], 0x3f800000
push eax
mov dword [0x16017a9c], ebx
call fcn.10015d3f
push 8
pop esi
push 0x10072c71
mov dword [0x16017aa4], 7
mov dword [0x16017aa8], esi
call fcn.1005803c
or dword [esp + 0x220], 0xffffffff
pop ecx
jmp 0x1004f91f
push 8
pop esi
push dword [esp + 0x118]
movdqa xmm0, xmmword [0x10008050]
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1c4]
mov dword [esp + 0x5c], ebx
push eax
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
movdqu xmmword [esp + 0x1cc], xmm0
mov dword [esp + 0x6c], ebx
call fcn.1000da92
push 2
lea ecx, [esp + 0x64]
mov dword [esp + 0x220], esi
call fcn.10009afa
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], 0x6711db60
mov dword [esp + 0x14], ebx
jmp 0x1004f994
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004f981
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebx
mov eax, dword [ecx]
mov esi, dword [esp + 0x54]
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x1c], 0xc662a2b3
mov dword [esp + 0x28], 0xfffffffb
mov eax, dword [esi + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp dword [esi + edx*4], eax
setne cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x60]
inc dword [ecx]
cmp dword [ecx], 3
jle 0x1004f9a1
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
cmp dword [eax], ebx
je 0x1004f9f6
mov edx, edi
cmp dword [esp + 0x14], ebx
jne 0x1004f9f8
mov edx, ebx
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp dword [eax], edx
mov edx, dword [esp + 0x14]
setle cl
sub ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
neg ecx
sbb ecx, ecx
inc ecx
imul edx, ecx
xor ecx, ecx
sub edx, dword [eax]
mov eax, dword [esp + 0x14]
add edx, 9
mov esi, dword [esp + 0x54]
cmp edx, eax
push dword [esp + 0x60]
setl cl
xor eax, eax
cmp ecx, dword [esi + 8]
setg al
mov dword [esp + 0x2c], eax
call fcn.100581d7
or dword [esp + 0x220], 0xffffffff
pop ecx
push esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.100581d7
pop ecx
xorps xmm0, xmm0
mov dword [esp + 0x54], ebx
push 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
movdqu xmmword [esp + 0x138], xmm0
call fcn.10009afa
mov dword [esp + 0xc], 0xdba76aab
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x28], 7
mov dword [esp + 0xc], ebx
jmp 0x1004fab5
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov dword [eax + ecx*4], 0xfffb
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x1004fa9f
mov dword [esp + 0xc], ebx
jmp 0x1004face
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x38], edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004fac2
mov dword [esp + 0xc], 3
cmp dword [esp + 0xc], ebx
jl 0x1004fc53
mov dword [esp + 0x20], 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x80]
cmp dword [ecx + eax*4], ebx
jne 0x1004fc5a
mov dword [esp + 0x20], ebx
jmp 0x1004fc3e
mov dword [esp + 0x24], 0xe3bc
mov dword [esp + 0x14], edi
cmp dword [esp + 0xc], ebx
jne 0x1004fb9c
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x24]
jne 0x1004fb2f
mov ecx, edi
cmp dword [esp + 0x20], ebx
jne 0x1004fb31
mov ecx, ebx
mov eax, dword [esp + 0x20]
imul eax, ecx
xor ecx, ecx
imul eax, eax, 0xc352
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffb
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0xc]
sete cl
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov eax, dword [eax + edx*4]
xor edx, edx
add eax, ecx
imul ecx, eax, 0xf1fc
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov eax, dword [esp + 0xc]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x80]
setle cl
xor edx, edx
cmp ecx, dword [eax + esi*4]
mov eax, 0xffff0001
setg dl
sub eax, edx
mov eax, ebx
je 0x1004fb9e
mov eax, edi
xor edx, edx
cmp eax, 0x6d6092f6
mov eax, dword [esp + 0x24]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, 0x53bf
setle cl
sub eax, ecx
je 0x1004fbe7
cmp dword [esp + 0xc], ebx
je 0x1004fbe7
mov dword [esp + 0x18], 0xfffffff9
jmp 0x1004fbde
mov eax, dword [esp + 0x20]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffff3
jle 0x1004fbcc
jmp 0x1004fc3a
mov dword [esp + 0x18], 0xacefce0
mov dword [esp + 0x24], 0xf
jmp 0x1004fc0b
cmp dword [esp + 0x38], ebx
jne 0x1004fc12
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 5
jl 0x1004fbf9
cmp dword [esp + 0x14], ebx
jne 0x1004fc34
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov eax, ebx
cmp dword [esp + 0x18], ebx
je 0x1004fc36
mov eax, edi
mov dword [esp + 0x38], eax
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0xe
jg 0x1004fb0b
dec dword [esp + 0xc]
jns 0x1004fae6
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x1004fc7a
push ecx
call fcn.100581d7
pop ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea eax, [esp + 0x30]
push eax
call fcn.10050bdd
mov esi, dword [eax]
mov al, byte [ebp + 0xc]
mov dword [esp + 0x24], esi
test al, al
jne 0x1004fc99
test esi, esi
jne 0x1005000d
lea ecx, [esp + 0x200]
mov dl, al
push ecx
mov ecx, dword [esp + 0x34]
call fcn.100424b9
mov esi, eax
lea edi, [esp + 0x138]
pop ecx
lea ecx, [esp + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [esp + 0x1c], 0xfff7
inc edi
push edi
call fcn.10009afa
mov dword [esp + 0x14], ebx
jmp 0x1004fcee
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1004fcd8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
mov eax, dword [esp + 0xc0]
setne cl
mov dword [eax], ecx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004fd2a
push ebx
push 0x26ae
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
push dword [esp + 0xc0]
call fcn.100581d7
cmp byte [ebp + 0xc], 0
pop ecx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
je 0x10050009
cmp dword [esp + 0x13c], 0
je 0x10050009
mov dword [esp + 0x2c], 5
lea ecx, [esp + 0xd8]
push 2
call fcn.10009afa
mov dword [esp + 0x28], 0x23b6
cmp dword [esp + 0x28], 0xff9
jge 0x1004fe54
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push 0x10007bcc
call fcn.10057e4b
mov eax, dword [esp + 0x140]
add esp, 0x14
cmp dword [esp + 0x70], eax
cmovl eax, dword [esp + 0x70]
cdq
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x18], edx
cdq
mov ecx, edx
mov esi, eax
mov edx, dword [esp + 0x18]
cmp edx, ecx
jl 0x1004fdff
jg 0x1004fdf1
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x1004fe03
mov edx, ecx
mov dword [esp + 0x14], esi
mov eax, esi
mov dword [esp + 0x18], edx
jmp 0x1004fe03
mov eax, dword [esp + 0x14]
sub esi, eax
mov eax, dword [esp + 0x10c]
sbb ecx, edx
cdq
mov dword [esp + 0x1c], ecx
cmp ecx, edx
jl 0x1004fe23
jg 0x1004fe1d
cmp esi, eax
jb 0x1004fe23
mov esi, eax
mov dword [esp + 0x1c], edx
push ebx
push 0x92
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.1005e290
mov ecx, dword [esp + 0x1c]
shld ecx, esi, 5
shl esi, 5
add eax, esi
adc edx, ecx
push edx
push eax
push 0x10007934
call fcn.10058066
add esp, 0xc
mov dword [esp + 0xc], ebx
jmp 0x1004fe70
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xd8]
mov dword [eax + ecx*4], 0x145b
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1004fe5a
mov dword [esp + 0xc], ebx
jmp 0x1004fe90
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x108], 0x885bd52a
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004fe7d
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1004febf
push 0x1805
push 0x19d2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp dword [esp + 0xd8], 0
mov dword [esp + 0x108], edi
je 0x1004fef2
push dword [esp + 0xd8]
call fcn.100581d7
pop ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov eax, dword [esp + 0x140]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x14], 0xae28de6
mov dword [esp + 0x20], 0xd52a42bb
mov dword [esp + 0x28], ebx
mov dword [esp + 0x124], eax
mov dword [esp + 0xc], ebx
jmp 0x1004ff3a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x78], 0x82ca9683
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1004ff2a
mov dword [esp + 0xc], ebx
jmp 0x1004ff59
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x174], 0xed9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x1004ff46
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x174]
setge cl
xor edx, edx
add ecx, 5
cmp ecx, eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
setle dl
cmp ecx, eax
push 0
pop eax
setge al
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp eax, edx
mov eax, dword [esp + 0x28]
setl cl
sub eax, ecx
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
xor edx, edx
inc eax
sub ecx, eax
mov eax, dword [esp + 0x18]
cmp ecx, eax
setle dl
imul edx, dword [esp + 0x1c]
test edx, edx
je 0x1004ffd7
cmp dword [esp + 0x14], ebx
jne 0x1004ffdf
mov ecx, ebx
cmp dword [esp + 0x20], ebx
je 0x1004ffe1
mov ecx, edi
mov eax, dword [esp + 0x17c]
sub ecx, eax
jne 0x1004fff0
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x174]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x128], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], 0xf46d
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], 0x9523dd97
mov dword [esp + 0x14], ebx
jmp 0x10050042
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x198], 0x1b32e265
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1005002f
cmp dword [esp + 0xc], ebx
jne 0x100500a4
mov eax, dword [esp + 0xc]
cmp dword [esp + 0xc], 0xfff9
jne 0x10050061
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
je 0x1005008f
cmp dword [esp + 0xc], ebx
je 0x1005008f
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
add ecx, eax
je 0x10050127
mov dword [esp + 0xc], 0x55a61940
mov dword [esp + 0x14], 0x7ea82bc9
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
dec ecx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0x1359
setle al
xor ecx, ecx
cmp eax, 0x32f
mov eax, dword [esp + 0x14]
setle cl
xor edx, edx
cmp ecx, eax
setge dl
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, 0x78f1
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0xc]
setg dl
imul eax, dword [esp + 0xc]
add edx, eax
imul edx, dword [esp + 0xc]
mov dword [esp + 0x14], edx
jmp 0x1005015e
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x10050149
push 0x5ad
push 0x388
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1005015e
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test esi, esi
jne 0x1005041c
cmp dword [esp + 0x134], esi
jle 0x1005041c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebx
jmp 0x1005020c
mov dword [esp + 0x18], 0x4ccb63e8
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x18], ebx
je 0x100501c0
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x18]
mov ecx, edi
setne dl
sub eax, edx
jne 0x100501c2
mov ecx, ebx
mov eax, dword [esp + 0x18]
sub ecx, eax
add ecx, dword [esp + 0x18]
mov eax, 0xd15de05d
cmp eax, ecx
mov ecx, 0x9ef4a042
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
sub eax, 0xfff6
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x10050208
push ebx
push ebx
push 0x64
push ebx
call dword [sym.imp.USER32.dll_AppendMenuA]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x19
jge 0x1005018d
mov dword [esp + 0x18], 0xdb3ae355
lea ecx, [esp + 0xf0]
push edi
call fcn.10009afa
mov dword [esp + 0x14], ebx
jmp 0x10050245
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xf0]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10050232
mov dword [esp + 0x18], 0xffffffea
jmp 0x1005029c
mov dword [esp + 0x14], 0x98311173
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x10050276
push ebx
push ebx
push 0x1399
push ebx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov dword [esp + 0x14], ebx
jmp 0x10050292
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1005028e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x1005027c
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xd
jg 0x10050255
cmp dword [esp + 0xf0], 0
je 0x100502cf
push dword [esp + 0xf0]
call fcn.100581d7
pop ecx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x14], 0xa1c1
mov dword [esp + 0x1c], 0x7cbae8b0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], 0x6a191a83
mov dword [esp + 0xc], ebx
jmp 0x10050304
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x148], 0x8cae2fe8
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x100502f1
mov dword [esp + 0xc], ebx
jmp 0x10050324
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x1b0], 0xffffffff
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x10050311
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x14]
je 0x10050340
mov ecx, edi
cmp dword [esp + 0x14c], ebx
jne 0x10050342
mov ecx, ebx
mov eax, dword [esp + 0x14]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, 0x986d
jne 0x1005035f
mov eax, ebx
cmp dword [esp + 0x14c], ebx
je 0x10050361
mov eax, edi
mov dword [esp + 0x1c], eax
xor edx, edx
mov ecx, dword [esp + 0x14c]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x14]
setne cl
neg ecx
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp dword [esp + 0x28], eax
setle cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1b0]
sub ecx, eax
mov eax, dword [esp + 0x1b8]
imul edx, ecx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [esp + 0x14c]
setle cl
cmp ecx, 0xf3004570
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setg cl
mov dword [esp + 0x28], ecx
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x100503fa
push 0x22e9
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, dword [esp + 0x138]
test ecx, ecx
je 0x1005041c
call fcn.1004f079
mov esi, eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], esi
call fcn.10050bdd
mov dword [eax], esi
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x18], 6
mov dword [esp + 0x28], 0xf3c34eea
mov dword [esp + 0x14], ebx
jmp 0x10050444
cmp dword [esp + 0x18], ebx
jne 0x1005044b
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x12
jl 0x1005043a
mov dword [esp + 0x18], 0xffffffef
jmp 0x10050469
mov dword [esp + 0x1c], 0x365653d4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x26
jl 0x10050455
lea ecx, [esp + 0x134]
call fcn.1004985f
test esi, esi
je 0x100507b6
mov dword [esp + 0x20], 5
push 8
pop eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0xc38ec326
mov dword [esp + 0x110], eax
mov dword [esp + 0x1c], 0xeba4
mov dword [esp + 0x130], 0xd88101ae
mov dword [esp + 0x20], 4
cmp dword [esp + 0x20], 0x1c
jg 0x10050666
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], 0x3989226c
mov dword [esp + 0x28], 0x4e665969
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x18], 0xffffffe5
jmp 0x10050648
push 4
lea ecx, [esp + 0xd0]
call fcn.10009afa
mov dword [esp + 0x21c], 9
mov dword [esp + 0xc], ebx
jmp 0x10050522
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xcc]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
jl 0x10050510
mov dword [esp + 0xc], ebx
jmp 0x1005053f
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x6c], 0xdfe0091d
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1005052f
mov esi, dword [esp + 0xcc]
mov dword [esi + 8], 0x18
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], 0xffffffff
push edi
call fcn.10009afa
mov dword [esp + 0x2c], 0x890ba5fc
mov dword [esp + 0x14], ebx
jmp 0x1005058a
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x773672d7
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10050577
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], 2
cmp dword [eax], ebx
jne 0x100505a8
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
xor edx, edx
mov eax, dword [esp + 0x130]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x110]
cmp eax, dword [esi + 8]
mov eax, dword [esp + 0x1c]
setne dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x2c], ebx
push dword [esp + 0x48]
jne 0x10050608
call fcn.100581d7
dec dword [esi + 8]
cmp dword [esi + 8], 0x17
pop ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
jge 0x10050553
jmp 0x1005061a
call fcn.100581d7
pop ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
or dword [esp + 0x21c], 0xffffffff
push dword [esp + 0xcc]
call fcn.100581d7
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
inc dword [esp + 0x1c]
pop ecx
cmp dword [esp + 0x18], 0x13
jne 0x100504f1
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0x1c
jle 0x100504c8
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.1004f0bb
mov dword [esp + 0x20], 0xe8cff0ea
mov esi, eax
push 3
pop eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x18], 0xdb80ebbd
mov dword [esp + 0x28], 0xcff29c21
mov dword [esp + 0xc], 0x7c8a36a7
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], 2
mov dword [esp + 0x120], esi
jg 0x1005073c
jmp 0x100506cd
push 3
pop eax
push eax
lea ecx, [esp + 0xb8]
call fcn.10009afa
mov dword [esp + 0x14], ebx
jmp 0x100506f6
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xb4]
mov dword [eax + ecx*4], 0xb108f825
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x100506e0
mov eax, dword [esp + 0xb4]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x20]
push dword [esp + 0xb4]
mov dword [esp + 0x20], eax
call fcn.100581d7
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 2
pop ecx
jle 0x100506ca
dec dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0x1c], ebx
jne 0x1005075e
cmp dword [esp + 0x18], ebx
jne 0x1005075e
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x98]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0x7c]
push eax
call fcn.10050b7b
mov dword [eax], esi
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x180]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0x17c9
push 2
call fcn.10009afa
push edi
lea ecx, [esp + 0x16c]
mov dword [esp + 0x220], 0xa
call fcn.10009afa
mov byte [esp + 0x21c], 0xb
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x28], 0xffffffff
push 3
call fcn.10009afa
mov dword [esp + 0x2c], 0xfffffff9
mov dword [esp + 0x24], ebx
jmp 0x10050836
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x180]
mov dword [eax + ecx*4], 5
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jl 0x10050820
mov dword [esp + 0x24], ebx
jmp 0x10050859
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x168]
mov dword [eax + ecx*4], 0x20ee
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edi
jl 0x10050843
mov dword [esp + 0x24], ebx
jmp 0x10050877
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1a0]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jl 0x10050865
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0xc]
imul eax, dword [esp + 0xc]
cmp eax, 8
setg cl
add ecx, 0xd1b7
je 0x1005089f
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
neg eax
cmp eax, 0x5c6f8b8a
setle cl
imul ecx, dword [esp + 0xc]
imul eax, ecx, 0x62b5
test eax, eax
je 0x100508d8
cmp dword [esp + 0xc], ebx
jne 0x100508da
mov edi, ebx
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
cmp edi, eax
setle cl
xor edx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, ecx
setl dl
xor ebx, ebx
add edx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
cmp edx, eax
mov eax, dword [esp + 0x180]
setle bl
xor ecx, ecx
mov dword [eax], ebx
mov eax, dword [esp + 0x168]
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
setne cl
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1a0]
push ecx
mov dword [ecx + 8], eax
mov dword [esp + 0x30], eax
call fcn.100581d7
pop ecx
push dword [esp + 0x168]
call fcn.100581d7
pop ecx
push dword [esp + 0x180]
call fcn.100581d7
pop ecx
mov eax, dword [ebp + 8]
lea esi, [esp + 0x120]
mov ecx, dword [esp + 0x214]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret