Function at 0x440a50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5522c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
call fcn.00432fc0
test al, al
jne 0x440a8d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
call fcn.0044ace0
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x120], edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.size:
push str._nRAM__s
push esi
call fcn.004e56d3
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
shrd ecx, edx, 0x14
add esp, 0xc
shr edx, 0x14
push edx
push ecx
mov ecx, 5
call fcn.00440710
mov eax, dword [ebp - 0x3c]
push eax
push str.CPU_hardware_threads:
push str._MB_____s__3d
push esi
call fcn.004e56d3
add esp, 0x18
cmp ebx, 0xffffffff
jne 0x440afc
mov ebx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], ebx
cmp ebx, 1
jbe 0x440b07
and ebx, 0xfffffffe
mov dword [ebp + 0xc], ebx
cmp edi, 0xffffffff
jne 0x440bb9
cmp ebx, 1
seta byte [ebp - 0x114]
mov ecx, 1
cmp ecx, ebx
sbb ecx, ecx
neg ecx
inc ecx
mov eax, ebx
xor edx, edx
div ecx
mov dword [ebp - 0x110], 0x19
mov edi, 0x2000000
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x114]
push edx
mov eax, edi
call fcn.00432d40
mov ecx, eax
add esp, 4
mov eax, edi
shr eax, 1
add eax, edi
xor ebx, ebx
add ecx, eax
adc edx, ebx
add ecx, 0x200000
adc edx, ebx
xor eax, eax
push eax
mov eax, dword [ebp - 0x12c]
push eax
push edx
push ecx
call fcn.004ea9d0
add eax, 0x800000
adc edx, ebx
cmp edx, dword [ebp - 0x120]
jb 0x440ba6
ja 0x440b92
cmp eax, dword [ebp - 0x124]
jbe 0x440ba6
mov eax, dword [ebp - 0x110]
dec eax
ror edi, 1
mov dword [ebp - 0x110], eax
cmp eax, 0x12
jg 0x440b41
mov ecx, dword [ebp - 0x110]
mov ebx, dword [ebp + 0xc]
mov edi, 1
shl edi, cl
mov dword [ebp + 0x10], edi
push str.usage:
push str._nRAM__s
push esi
call fcn.004e56d3
add esp, 0xc
cmp ebx, 1
seta cl
movzx edx, cl
push edx
mov eax, edi
call fcn.00432d40
mov ecx, eax
mov eax, edx
mov edx, edi
shr edx, 1
add edx, edi
xor edi, edi
add esp, 4
add ecx, edx
adc eax, edi
add ecx, 0x200000
adc eax, edi
mov edx, 1
cmp edx, ebx
sbb edi, edi
mov dword [ebp - 0x114], eax
neg edi
inc edi
xor edx, edx
mov eax, ebx
div edi
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x114]
push eax
push ecx
call fcn.004ea9d0
shrd eax, edx, 0x14
shr edx, 0x14
push edx
push eax
lea ecx, [edi + 5]
call fcn.00440710
mov eax, dword [ebp + 0xc]
push eax
push str.Benchmark_threads:
push str._MB_____s__3d
push esi
call fcn.004e56d3
push str._n_nDict________Compressing__________________Decompressing_n
push esi
mov dword [ebp - 0x10c], 0x51be74
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], esi
call fcn.004e56d3
add esp, 0x20
xor ebx, ebx
jmp 0x440cd0
push str.___Speed_Usage____R_U_Rating
push esi
call fcn.004e56d3
add esp, 8
cmp ebx, edi
jne 0x440cf0
push esi
push 0x51bcec
call fcn.004e57df
add esp, 8
inc ebx
cmp ebx, 2
jl 0x440cd0
push str._n
push esi
call fcn.004e56d3
add esp, 8
xor ebx, ebx
jmp 0x440d10
push str.____KB_s__________MIPS___MIPS
push esi
call fcn.004e56d3
add esp, 8
cmp ebx, edi
jne 0x440d30
push esi
push 0x51bcec
call fcn.004e57df
add esp, 8
inc ebx
cmp ebx, 2
jl 0x440d10
push 0x51bde4
push esi
call fcn.004e56d3
add esp, 8
mov dword [ebp - 0x110], edi
cmp dword [ebp + 8], edi
jbe 0x440e0d
cmp dword [ebp + 0x10], 0x400000
sbb eax, eax
and eax, 0xfffffffc
add eax, 0x16
mov dword [ebp - 0x114], eax
jmp 0x440d70
mov edi, dword [ebp - 0x114]
mov ecx, edi
mov edx, 1
shl edx, cl
mov eax, 1
rol eax, cl
mov ecx, dword [ebp + 0x10]
cmp edx, ecx
jbe 0x440d97
lea ecx, [ecx]
dec edi
ror eax, 1
cmp eax, ecx
ja 0x440d90
mov ebx, 1
mov ecx, edi
shl ebx, cl
cmp ebx, dword [ebp + 0x10]
ja 0x440df5
push edi
push 0x51bde8
push esi
call fcn.004e56d3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push ebx
push ecx
mov dword [ebp - 0xc0], ebx
call fcn.00432480
add esp, 0xc
push 0x51bdf0
push esi
mov ebx, eax
call fcn.004e56d3
add esp, 8
test ebx, ebx
jne 0x4416f1
inc edi
mov ebx, 1
mov ecx, edi
shl ebx, cl
cmp ebx, dword [ebp + 0x10]
jbe 0x440da5
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp eax, dword [ebp + 8]
jb 0x440d70
xor edi, edi
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
mov edx, ebx
or edx, eax
je 0x440e9e
mov ecx, dword [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0xf8]
push ebx
push eax
push ecx
call fcn.004eaa10
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov edx, dword [ebp - 0x100]
push edx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf0]
push ebx
push eax
push ecx
call fcn.004eaa10
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov edx, dword [ebp - 0x100]
push edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe8]
push ebx
push eax
push ecx
call fcn.004eaa10
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], edi
mov ebx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
mov edx, ebx
or edx, eax
je 0x440f2f
mov ecx, dword [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xd8]
push ebx
push eax
push ecx
call fcn.004eaa10
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov edx, dword [ebp - 0xe0]
push edx
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd0]
push ebx
push eax
push ecx
call fcn.004eaa10
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
mov edx, dword [ebp - 0xe0]
push edx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc8]
push ebx
push eax
push ecx
call fcn.004eaa10
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xe0], edi
push str._________________________________________________________________nAvr:
push esi
call fcn.004e56d3
push 0x51bcf8
push esi
call fcn.004e56d3
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf8]
add esp, 0x10
mov dword [ebp - 0x118], edx
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x124], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x120], edx
mov edx, dword [ebp - 0xf0]
push 0
add ecx, 0x1388
push 0x2710
adc edx, 0
mov dword [ebp - 0x114], eax
push edx
lea eax, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x110], eax
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x440fc5
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x440fa8
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x440fd6
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441001
sub eax, edx
cmp eax, 5
jge 0x441031
mov edi, 5
sub edi, eax
jmp 0x441020
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441020
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
add esp, 8
push 0
push 0xf4240
push edx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x441082
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x441065
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441093
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4410c0
sub eax, edx
cmp eax, 6
jge 0x4410e6
mov edi, 6
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x4410d5
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
add esp, 8
push 0
push 0xf4240
push edx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
lea ebx, [ebx]
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x44113d
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x441120
mov eax, dword [ebp - 0x110]
mov edi, edi
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441150
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
jmp 0x441180
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441180
sub eax, edx
cmp eax, 6
jge 0x4411a6
mov edi, 6
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441195
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
push 0x51be40
push esi
call fcn.004e56d3
push 0x51bcf8
push esi
call fcn.004e56d3
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd8]
add esp, 0x18
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0xd0]
push 0
add eax, 0x1388
push 0x2710
adc ecx, 0
mov dword [ebp - 0x114], edx
push ecx
lea edx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x110], edx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x441245
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x441228
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441256
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441281
sub eax, edx
cmp eax, 5
jge 0x4412b1
mov edi, 5
sub edi, eax
jmp 0x4412a0
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x4412a0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
add esp, 8
push 0
push 0xf4240
push edx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x441302
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x4412e5
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441313
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441340
sub eax, edx
cmp eax, 6
jge 0x441366
mov edi, 6
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441355
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
add esp, 8
push 0
push 0xf4240
push edx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
lea ebx, [ebx]
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x4413bd
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0x74], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x4413a0
mov eax, dword [ebp - 0x110]
mov edi, edi
mov cl, byte [ebp + ebx - 0x75]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x4413d0
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x2c]
add esp, 8
lea edx, [eax + 1]
jmp 0x441400
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441400
sub eax, edx
cmp eax, 6
jge 0x441426
mov edi, 6
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441415
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004e57df
push str._nTot:
push esi
call fcn.004e56d3
mov ecx, dword [ebp - 0xdc]
add ecx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xd8]
adc eax, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xd0]
shrd ecx, eax, 1
shr eax, 1
add ebx, dword [ebp - 0xf4]
mov dword [ebp - 0x24], ecx
adc edi, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc8]
shrd ebx, edi, 1
shr edi, 1
add ecx, dword [ebp - 0xec]
push 0x51bcf8
adc eax, dword [ebp - 0xe8]
push esi
shrd ecx, eax, 1
shr eax, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
call fcn.004e56d3
add esp, 0x18
push 0
add ebx, 0x1388
push 0x2710
adc edi, 0
push edi
lea ecx, [ebp - 0x4c]
push ebx
mov dword [ebp - 0x114], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x4414f0
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0xbc], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x4414d3
mov eax, dword [ebp - 0x114]
mov cl, byte [ebp + ebx - 0xbd]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441504
push 0x51bcf4
push esi
mov byte [eax], 0
call fcn.004e56d3
lea eax, [ebp - 0x4c]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441530
sub eax, edx
cmp eax, 5
jge 0x441556
mov edi, 5
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441545
lea edx, [ebp - 0x4c]
push esi
push edx
call fcn.004e57df
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add esp, 8
push 0
push 0xf4240
push ecx
lea eax, [ebp - 0x4c]
push edx
mov dword [ebp - 0x110], eax
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x4415a1
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0xbc], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x441584
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0xbd]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x4415b5
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x4c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4415e3
sub eax, edx
cmp eax, 6
jge 0x441611
mov edi, 6
sub edi, eax
jmp 0x441600
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x441600
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004e57df
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add esp, 8
push 0
push 0xf4240
push edx
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x110], ecx
call fcn.004eaa10
mov edi, eax
xor ebx, ebx
nop
push 0
push 0xa
push edx
push edi
call fcn.004eaa10
lea ecx, [eax + eax*4]
add ecx, ecx
sub edi, ecx
lea ecx, [edi + 0x30]
cmp edi, 0xa
jl 0x44165d
lea ecx, [edi + 0x57]
mov byte [ebp + ebx - 0xbc], cl
inc ebx
mov edi, eax
or eax, edx
jne 0x441640
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + ebx - 0xbd]
dec ebx
mov byte [eax], cl
inc eax
test ebx, ebx
jg 0x441671
mov edx, eax
push 0x51bcf4
push esi
mov dword [ebp - 0x110], eax
mov byte [edx], 0
call fcn.004e56d3
lea eax, [ebp - 0x4c]
add esp, 8
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4416a0
sub eax, edx
cmp eax, 6
jge 0x4416c6
mov edi, 6
sub edi, eax
push 0x51bcf4
push esi
call fcn.004e56d3
add esp, 8
dec edi
jne 0x4416b5
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004e57df
push 0x51bdf0
push esi
call fcn.004e56d3
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004e4d50
mov esp, ebp
pop ebp
ret