Function at 0x65d180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x25c
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x26c]
mov esi, ecx
push edi
mov edi, dword [esp + 0x278]
mov ecx, dword [esp + 0x274]
mov ebp, dword [esi]
xor eax, eax
add edi, ebp
mov ebp, dword [esi + 4]
add ebp, 0xf4
cmp ebx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
jle 0x65d1d6
mov ecx, ebx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jne 0x65d1e7
mov ecx, 1
mov dword [esp + 0x2c], ecx
lea eax, [ebx*8]
sub eax, ebx
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv ecx
mov edx, dword [esp + 0x274]
mov ecx, eax
lea eax, [edx*8]
sub eax, edx
mov dword [esp + 0x30], ecx
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0x14
mov dword [esp + 0x28], eax
jge 0x65d242
lea eax, [ebx + ebx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x274]
lea ecx, [eax + eax*4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jg 0x65d24e
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x65d25e
mov dword [esp + 0x2c], 1
mov eax, ebp
mov dword [esp + 0x24], ecx
sub eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov bl, 0x1c
push 0x19
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 4
mov byte [esp + 0x18], 0xfd
mov byte [esp + 0x19], 0xb5
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
lea ecx, [edi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push 0x32
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 7
mov byte [esp + 0x18], 0xfd
mov byte [esp + 0x19], 0xb5
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
lea ecx, [edi + 0xb]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push 0x19
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 4
mov byte [esp + 0x18], 0xfd
mov byte [esp + 0x19], 0xb5
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [edi + 0x84]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov eax, ebp
mov dword [esp + 0x24], ecx
sub eax, ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push 0x19
push eax
mov dword [esp + 0x28], 4
mov byte [esp + 0x18], 0xfa
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov edx, dword [esp + 0x60]
lea ecx, [edi + 0x88]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 7
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push 0x32
push eax
mov byte [esp + 0x18], 0xfa
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
lea ecx, [edi + 0x8f]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push 0x19
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 4
mov byte [esp + 0x18], 0xfa
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x274]
mov ebx, dword [esp + 0x270]
mov eax, 1
lea edx, [ebp - 1]
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x65d425
mov edx, ecx
cmp eax, edx
jg 0x65d79a
mov edx, dword [esp + 0x54]
test edx, edx
jle 0x65d465
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x65d465
mov ecx, dword [0x821c74]
push 1
lea edx, [esp + 0x50]
push 0
mov eax, dword [ecx]
push edx
mov edx, dword [0x821c78]
push edx
lea edx, [esp + 0x5c]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jg 0x65d520
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x821c74]
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0xf
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [0x821c74]
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp eax, ebx
jl 0x65d4bb
mov eax, ebx
push eax
lea edx, [esp + 0xf0]
push 0x7bc530
push edx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0xec]
mov eax, dword [ecx + 8]
sub ebx, eax
mov eax, dword [ecx]
push 2
push ebx
push edi
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xec]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
jmp 0x65d591
mov edx, dword [0x821c74]
push ebx
lea eax, [esp + 0x1f0]
push 0x7bc530
push eax
mov dword [esp + 0x20], edx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, ebp
add esp, 0xc
mov eax, dword [ecx + 8]
sub ebx, eax
push 2
sub ebx, edx
mov edx, dword [ecx]
push ebx
lea eax, [esp + 0x1f4]
push edi
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x1ec]
push edx
call dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x65d5c0
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x65d5c0
mov ecx, dword [0x821c74]
push 1
lea eax, [esp + 0x40]
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [0x821c78]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x65d68e
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x821c74]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xf
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [0x821c74]
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x274]
cmp eax, ecx
jl 0x65d629
mov eax, ecx
push eax
lea edx, [esp + 0x170]
push 0x7bc530
push edx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
add esp, 0xc
mov eax, dword [ecx + 8]
sub ebx, eax
mov eax, dword [ecx]
push 2
push ebx
push edx
lea edx, [esp + 0x178]
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x16c]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
jmp 0x65d700
mov ecx, dword [esp + 0x274]
mov eax, dword [0x821c74]
push ecx
lea edx, [esp + 0x70]
push 0x7bc530
push edx
mov dword [esp + 0x20], eax
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x34]
mov ebx, ebp
add esp, 0xc
mov edx, dword [ecx + 8]
sub ebx, edx
mov edx, dword [esp + 0x34]
sub ebx, eax
mov eax, dword [ecx]
push 2
push ebx
push edx
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x6c]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov eax, str.BarGraph
mov dword [esp + 0x48], edx
test eax, eax
je 0x65d741
call fcn.00406f30
test eax, eax
je 0x65d741
mov eax, dword [esi + 0x44]
xor ebx, ebx
test eax, eax
jle 0x65d741
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx]
push eax
push str.BarGraph
call fcn.0076d4b0
add esp, 8
test eax, eax
je 0x65d741
mov eax, dword [esi + 0x44]
inc ebx
cmp ebx, eax
jl 0x65d71f
push 1
mov ecx, esi
call fcn.0065e280
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
mov ecx, 2
add eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x274]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x10], edx
add eax, eax
add ebx, eax
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x270]
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
jmp 0x65d417
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x65d7cd
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x65d7cd
mov ecx, dword [0x821c74]
push 1
lea eax, [esp + 0x50]
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [0x821c78]
push eax
lea eax, [esp + 0x5c]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
push 1
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push 0
push edx
mov edx, dword [esi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x821c78]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0xf
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
call dword [eax + 8]
mov eax, dword [0x821c74]
push ebx
lea ecx, [esp + 0x70]
push 0x7bc530
push ecx
mov dword [esp + 0x20], eax
call fcn.0076ecf4
mov eax, dword [esi + 0xc]
mov ecx, ebp
add esp, 0xc
mov edx, dword [eax]
sub ecx, dword [eax + 8]
mov eax, dword [esp + 0x30]
push 2
sub ecx, eax
lea eax, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [0x821c78]
push ebx
lea edx, [esp + 0x70]
push 0x7bc530
push edx
mov dword [esp + 0x20], ecx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov edx, ebp
add esp, 0xc
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
sub edx, ebx
mov ebx, dword [esp + 0x30]
sub edx, ebx
push 2
push edx
lea edx, [esp + 0x74]
push edi
push edx
mov edx, dword [esp + 0x24]
push edx
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x65d8cc
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x65d8cc
mov ecx, dword [0x821c74]
push 1
lea edx, [esp + 0x40]
push 0
mov eax, dword [ecx]
push edx
mov edx, dword [0x821c78]
push edx
lea edx, [esp + 0x4c]
push edx
call dword [eax + 8]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x1c]
push 0
push eax
mov eax, dword [esi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x821c78]
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0xf
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x274]
mov ebx, dword [0x821c74]
push ecx
lea edx, [esp + 0x70]
push 0x7bc530
push edx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
mov edx, ebp
add esp, 0xc
sub edx, dword [ecx + 8]
mov eax, dword [ecx]
push 2
sub edx, dword [esp + 0x2c]
push edx
lea edx, [esp + 0x74]
push edi
push edx
push ebx
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x6c]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x274]
mov ebx, dword [0x821c78]
push eax
lea ecx, [esp + 0x70]
push 0x7bc530
push ecx
call fcn.0076ecf4
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
sub ebp, eax
mov eax, dword [esp + 0x28]
sub ebp, eax
push 2
push ebp
lea eax, [esp + 0x74]
push edi
push eax
push ebx
call dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
push 0x14
mov ecx, esi
call fcn.0065e280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 0xc